SHOW:
|
|
- or go back to the newest paste.
1 | local p = game.Players.LocalPlayer | |
2 | local char = p.Character | |
3 | - | local size = 8 |
3 | + | local size = 15 |
4 | part = function() | |
5 | ||
6 | sky = Instance.new("Sky",game.Lighting) | |
7 | - | sky.MoonTextureId = "rbxassetid://188291834" |
7 | + | sky.SunTextureId = "rbxassetid://188291833" |
8 | ||
9 | --Made by Auma | |
10 | ||
11 | local s = Instance.new("Sound") | |
12 | ||
13 | s.Name = "Sound" | |
14 | s.SoundId = "http://www.roblox.com/asset/?id=185617544" | |
15 | s.Volume = 2 | |
16 | s.Looped = true | |
17 | s.archivable = false | |
18 | ||
19 | - | s.Parent = p |
19 | + | s.Parent = game.Workspace |
20 | s:play() | |
21 | ||
22 | local a = Instance.new("Part", script) | |
23 | a.Anchored = true | |
24 | a.CanCollide = true | |
25 | a.CFrame = char.Torso.CFrame | |
26 | a.Size = Vector3.new(size, 0.2, 0.2) | |
27 | a.Transparency = 1 | |
28 | return a | |
29 | end | |
30 | ||
31 | part2 = function() | |
32 | ||
33 | local a = Instance.new("Part", script) | |
34 | a.Anchored = true | |
35 | a.CanCollide = true | |
36 | a.CFrame = char.Torso.CFrame | |
37 | a.Size = Vector3.new(0.2, size, 0.2) | |
38 | a.Transparency = 1 | |
39 | return a | |
40 | end | |
41 | ||
42 | part3 = function() | |
43 | ||
44 | local a = Instance.new("Part", script) | |
45 | a.Anchored = true | |
46 | a.CanCollide = false | |
47 | a.Size = Vector3.new(size, size, 1) | |
48 | a.Transparency = 0.7 | |
49 | a.Material = "Neon" | |
50 | a.BrickColor = BrickColor.new("Really black") | |
51 | local b = Instance.new("BlockMesh", a) | |
52 | b.Scale = Vector3.new(1, 1, 0) | |
53 | return a | |
54 | end | |
55 | ||
56 | local replicating = false | |
57 | local root, a, b, c, d, a2, b2, c2, d2, aa, bb, cc, dd, z, x, c, v, b, n = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
58 | replicate = function() | |
59 | ||
60 | replicating = true | |
61 | script:ClearAllChildren() | |
62 | root = part() | |
63 | root.Transparency = 1 | |
64 | root.Size = Vector3.new(0.2, 0.2, 0.2) | |
65 | root.CanCollide = false | |
66 | a = part() | |
67 | b = part() | |
68 | c = part() | |
69 | d = part() | |
70 | a2 = part() | |
71 | b2 = part() | |
72 | c2 = part() | |
73 | d2 = part() | |
74 | aa = part2() | |
75 | bb = part2() | |
76 | cc = part2() | |
77 | dd = part2() | |
78 | z = part3() | |
79 | x = part3() | |
80 | c = part3() | |
81 | v = part3() | |
82 | b = part3() | |
83 | n = part3() | |
84 | replicating = false | |
85 | end | |
86 | ||
87 | script.ChildRemoved:connect(function(a) | |
88 | ||
89 | if a.ClassName == "Part" and replicating == false then | |
90 | replicate() | |
91 | end | |
92 | end | |
93 | ) | |
94 | replicate() | |
95 | local tick = 0 | |
96 | CreateRegion3FromLocAndSize = function(Position, Size) | |
97 | ||
98 | local SizeOffset = Size / 2 | |
99 | local Point1 = Position - SizeOffset | |
100 | local Point2 = Position + SizeOffset | |
101 | return Region3.new(Point1, Point2) | |
102 | end | |
103 | ||
104 | local set = false | |
105 | local whitelist = {"Hieroku", "PPATTA", "DevGamerzz", "I kill U", "kash5", "ZeroCrimson", "Zaidia", "tsup2", "PointCoded", "CLarramore", "Suzuuki", "", "", ""} | |
106 | p.Chatted:connect(function(ms) | |
107 | ||
108 | if ms:sub(1, 5) == "size-" then | |
109 | size = tonumber(ms:sub(6)) | |
110 | replicate() | |
111 | else | |
112 | if ms:sub(1, 4) == "set-" then | |
113 | set = true | |
114 | z.CanCollide = false | |
115 | x.CanCollide = false | |
116 | c.CanCollide = false | |
117 | v.CanCollide = false | |
118 | b.CanCollide = false | |
119 | n.CanCollide = false | |
120 | else | |
121 | if ms:sub(1, 6) == "unset-" then | |
122 | set = false | |
123 | z.CanCollide = false | |
124 | x.CanCollide = false | |
125 | c.CanCollide = false | |
126 | v.CanCollide = false | |
127 | b.CanCollide = false | |
128 | n.CanCollide = false | |
129 | else | |
130 | if ms:sub(1, 10) == "whitelist-" then | |
131 | table.insert(whitelist, ms:sub(11)) | |
132 | else | |
133 | if ms:sub(1, 12) == "unwhitelist-" then | |
134 | for i,v in pairs(whitelist) do | |
135 | if ms:sub(13) == v then | |
136 | table.remove(whitelist, i) | |
137 | break | |
138 | end | |
139 | end | |
140 | end | |
141 | end | |
142 | end | |
143 | end | |
144 | end | |
145 | end | |
146 | ) | |
147 | local magicpos = nil | |
148 | game:GetService("RunService").Heartbeat:connect(function() | |
149 | ||
150 | pcall(function() | |
151 | ||
152 | local void = char:GetChildren() | |
153 | for _,pl in pairs(whitelist) do | |
154 | if game.Players:FindFirstChild(pl) ~= nil and game.Players:FindFirstChild(pl).Character ~= nil then | |
155 | for i,v in pairs(game.Players[pl].Character:GetChildren()) do | |
156 | table.insert(void, v) | |
157 | end | |
158 | end | |
159 | end | |
160 | for i,v in pairs(game.Players:GetPlayers()) do | |
161 | if v.Character:isDescendantOf(char) and not v.Name == "FangxWulf" then | |
162 | v:LoadCharacter() | |
163 | end | |
164 | end | |
165 | char.Humanoid.Health = math.huge | |
166 | tick = tick + 0.01 | |
167 | if not set then | |
168 | root.CFrame = root.CFrame:lerp(CFrame.new(char.Torso.CFrame.p) * CFrame.Angles(math.sin(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2)), 0.1) | |
169 | magicpos = char.Torso.CFrame | |
170 | else | |
171 | root.CFrame = root.CFrame:lerp(CFrame.new(magicpos.p) * CFrame.Angles(0, 0, 0), 0.05) | |
172 | end | |
173 | local reg = CreateRegion3FromLocAndSize(root.CFrame.p, Vector3.new(size, size, size)) | |
174 | for i,v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, void, 100)) do | |
175 | if v.Name ~= "Base" then | |
176 | v:Destroy() | |
177 | end | |
178 | end | |
179 | a.CFrame = root.CFrame * CFrame.new(size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
180 | b.CFrame = root.CFrame * CFrame.new(-size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
181 | c.CFrame = root.CFrame * CFrame.new(0, size / 2, size / 2) | |
182 | d.CFrame = root.CFrame * CFrame.new(0, size / 2, -size / 2) | |
183 | a2.CFrame = root.CFrame * CFrame.new(size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
184 | b2.CFrame = root.CFrame * CFrame.new(-size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0) | |
185 | c2.CFrame = root.CFrame * CFrame.new(0, -size / 2, size / 2) | |
186 | d2.CFrame = root.CFrame * CFrame.new(0, -size / 2, -size / 2) | |
187 | aa.CFrame = root.CFrame * CFrame.new(size / 2, 0, size / 2) | |
188 | bb.CFrame = root.CFrame * CFrame.new(-size / 2, 0, size / 2) | |
189 | cc.CFrame = root.CFrame * CFrame.new(-size / 2, 0, -size / 2) | |
190 | dd.CFrame = root.CFrame * CFrame.new(size / 2, 0, -size / 2) | |
191 | z.CFrame = root.CFrame * CFrame.new(size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0) | |
192 | x.CFrame = root.CFrame * CFrame.new(-size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0) | |
193 | c.CFrame = root.CFrame * CFrame.new(0, 0, size / 2) * CFrame.Angles(0, 0, math.rad(90)) | |
194 | v.CFrame = root.CFrame * CFrame.new(0, 0, -size / 2) * CFrame.Angles(0, 0, math.rad(90)) | |
195 | b.CFrame = root.CFrame * CFrame.new(0, size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
196 | n.CFrame = root.CFrame * CFrame.new(0, -size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
197 | end | |
198 | ) | |
199 | end | |
200 | ) |