forked from TrixAde/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSkyWarsFreeMegaVipItems.lua
More file actions
33 lines (28 loc) · 1001 Bytes
/
Copy pathSkyWarsFreeMegaVipItems.lua
File metadata and controls
33 lines (28 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
for i, v in pairs(game:GetService("Workspace").Regen.Purchases.MVPurchases["Power Ups"]:GetChildren()) do
if v:IsA("Model") then
v.Name = "Model"
end
end
for i, v in pairs(game:GetService("Workspace").Regen.Purchases.MVPurchases.Helmets:GetChildren()) do
if v:IsA("Model") then
v.Name = "Model"
end
end
for i, v in pairs(game:GetService("Workspace").Regen.Purchases.MVPurchases["Power Ups"].Model:GetChildren()) do
if v:IsA("Part") then
if v.Name == "Button" then
v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
end
end
end
for i, v in pairs(game:GetService("Workspace").Regen.Purchases.MVPurchases.Helmets.Model:GetChildren()) do
if v:IsA("Part") then
if v.Name == "Helmet" then
v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
end
end
end
local args = {
[1] = "sword"
}
game:GetService("ReplicatedStorage").Events.PromoRewards:FireServer(unpack(args))