View difference between Paste ID: VYaA6583 and SQ368bQ5
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
 
3
local Player,game,owner = owner,game
4
 
5
local RealPlayer = Player
6
 
7
do local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
8
9
wait(0.2)
10
11
--[[
12
Made by CadenSB
13
--]]
14
local player = game.Players.LocalPlayer
15
local char = player.Character
16
char.Animate.Disabled = true
17
char.Humanoid.Animator:Destroy()
18
local mouse = player:GetMouse()
19
local sine=0
20
local change=1
21
local ws = 30
22
local ts = game:GetService("TweenService")
23
char.Humanoid.WalkSpeed = ws
24
chr=player.Character
25
human=chr:FindFirstChild("Humanoid")
26
tors=chr["Torso"]
27
rarm=chr["Right Arm"]
28
larm=chr["Left Arm"]
29
rleg=chr["Right Leg"]
30
lleg=chr["Left Leg"]
31
hrp=chr["HumanoidRootPart"]
32
hed=chr["Head"]
33
cf=CFrame.new
34
ang=CFrame.Angles
35
rd=math.rad
36
rd2=math.random
37
-- Objects
38
39
local GaaraMoveGui = Instance.new("ScreenGui")
40
local MainFrame = Instance.new("Frame")
41
local Move1 = Instance.new("Frame")
42
local Bar1 = Instance.new("Frame")
43
local KeyButton = Instance.new("TextLabel")
44
local MoveName = Instance.new("TextLabel")
45
local Move2 = Instance.new("Frame")
46
local Bar2 = Instance.new("Frame")
47
local KeyButton_2 = Instance.new("TextLabel")
48
local MoveName_2 = Instance.new("TextLabel")
49
local Move3 = Instance.new("Frame")
50
local Bar3 = Instance.new("Frame")
51
local KeyButton_3 = Instance.new("TextLabel")
52
local MoveName_3 = Instance.new("TextLabel")
53
local Move4 = Instance.new("Frame")
54
local Bar4 = Instance.new("Frame")
55
local KeyButton_4 = Instance.new("TextLabel")
56
local MoveName_4 = Instance.new("TextLabel")
57
58
-- Properties
59
60
GaaraMoveGui.Name = "GaaraMoveGui"
61
GaaraMoveGui.Parent = player.PlayerGui
62
63
MainFrame.Name = "MainFrame"
64
MainFrame.Parent = GaaraMoveGui
65
MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
66
MainFrame.BackgroundTransparency = 1
67
MainFrame.Position = UDim2.new(1, -283, 1, -355)
68
MainFrame.Size = UDim2.new(0, 253, 0, 355)
69
70
Move1.Name = "Move1"
71
Move1.Parent = MainFrame
72
Move1.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
73
Move1.BackgroundTransparency = 0.5
74
Move1.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
75
Move1.BorderSizePixel = 0
76
Move1.Size = UDim2.new(1, 0, 0, 80)
77
Move1.ZIndex = 5
78
79
Bar1.Name = "Bar1"
80
Bar1.Parent = Move1
81
Bar1.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
82
Bar1.BorderSizePixel = 0
83
Bar1.Size = UDim2.new(0, 0, 1, 0)
84
Bar1.ZIndex = 6
85
86
KeyButton.Name = "KeyButton"
87
KeyButton.Parent = Move1
88
KeyButton.BackgroundColor3 = Color3.new(1, 1, 1)
89
KeyButton.BackgroundTransparency = 1
90
KeyButton.Size = UDim2.new(1, 0, 1, -40)
91
KeyButton.ZIndex = 7
92
KeyButton.Font = Enum.Font.SourceSansLight
93
KeyButton.FontSize = Enum.FontSize.Size48
94
KeyButton.Text = "[V]"
95
KeyButton.TextColor3 = Color3.new(1, 1, 1)
96
KeyButton.TextSize = 37
97
KeyButton.TextStrokeTransparency = 0
98
KeyButton.TextWrapped = true
99
KeyButton.TextYAlignment = Enum.TextYAlignment.Top
100
101
MoveName.Name = "MoveName"
102
MoveName.Parent = Move1
103
MoveName.BackgroundColor3 = Color3.new(1, 1, 1)
104
MoveName.BackgroundTransparency = 1
105
MoveName.Position = UDim2.new(0, 0, 0, 40)
106
MoveName.Size = UDim2.new(1, 0, 1, -40)
107
MoveName.ZIndex = 7
108
MoveName.Font = Enum.Font.SourceSansLight
109
MoveName.FontSize = Enum.FontSize.Size48
110
MoveName.Text = "Sand Binding Coffin"
111
MoveName.TextColor3 = Color3.new(1, 1, 1)
112
MoveName.TextSize = 37
113
MoveName.TextStrokeTransparency = 0
114
MoveName.TextWrapped = true
115
MoveName.TextYAlignment = Enum.TextYAlignment.Top
116
117
Move2.Name = "Move2"
118
Move2.Parent = MainFrame
119
Move2.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
120
Move2.BackgroundTransparency = 0.5
121
Move2.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
122
Move2.BorderSizePixel = 0
123
Move2.Position = UDim2.new(0, 0, 0, 90)
124
Move2.Size = UDim2.new(1, 0, 0, 80)
125
Move2.ZIndex = 5
126
127
Bar2.Name = "Bar2"
128
Bar2.Parent = Move2
129
Bar2.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
130
Bar2.BorderSizePixel = 0
131
Bar2.Size = UDim2.new(1, 0, 1, 0)
132
Bar2.ZIndex = 6
133
134
KeyButton_2.Name = "KeyButton"
135
KeyButton_2.Parent = Move2
136
KeyButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
137
KeyButton_2.BackgroundTransparency = 1
138
KeyButton_2.Size = UDim2.new(1, 0, 1, -40)
139
KeyButton_2.ZIndex = 7
140
KeyButton_2.Font = Enum.Font.SourceSansLight
141
KeyButton_2.FontSize = Enum.FontSize.Size48
142
KeyButton_2.Text = "[C]"
143
KeyButton_2.TextColor3 = Color3.new(1, 1, 1)
144
KeyButton_2.TextSize = 37
145
KeyButton_2.TextStrokeTransparency = 0
146
KeyButton_2.TextWrapped = true
147
KeyButton_2.TextYAlignment = Enum.TextYAlignment.Top
148
149
MoveName_2.Name = "MoveName"
150
MoveName_2.Parent = Move2
151
MoveName_2.BackgroundColor3 = Color3.new(1, 1, 1)
152
MoveName_2.BackgroundTransparency = 1
153
MoveName_2.Position = UDim2.new(0, 0, 0, 40)
154
MoveName_2.Size = UDim2.new(1, 0, 1, -40)
155
MoveName_2.ZIndex = 7
156
MoveName_2.Font = Enum.Font.SourceSansLight
157
MoveName_2.FontSize = Enum.FontSize.Size48
158
MoveName_2.Text = "Sand Wave"
159
MoveName_2.TextColor3 = Color3.new(1, 1, 1)
160
MoveName_2.TextSize = 37
161
MoveName_2.TextStrokeTransparency = 0
162
MoveName_2.TextWrapped = true
163
MoveName_2.TextYAlignment = Enum.TextYAlignment.Top
164
165
Move3.Name = "Move3"
166
Move3.Parent = MainFrame
167
Move3.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
168
Move3.BackgroundTransparency = 0.5
169
Move3.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
170
Move3.BorderSizePixel = 0
171
Move3.Position = UDim2.new(0, 0, 0, 180)
172
Move3.Size = UDim2.new(1, 0, 0, 80)
173
Move3.ZIndex = 5
174
175
Bar3.Name = "Bar3"
176
Bar3.Parent = Move3
177
Bar3.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
178
Bar3.BorderSizePixel = 0
179
Bar3.Size = UDim2.new(1, 0, 1, 0)
180
Bar3.ZIndex = 6
181
182
KeyButton_3.Name = "KeyButton"
183
KeyButton_3.Parent = Move3
184
KeyButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
185
KeyButton_3.BackgroundTransparency = 1
186
KeyButton_3.Size = UDim2.new(1, 0, 1, -40)
187
KeyButton_3.ZIndex = 7
188
KeyButton_3.Font = Enum.Font.SourceSansLight
189
KeyButton_3.FontSize = Enum.FontSize.Size48
190
KeyButton_3.Text = "[X]"
191
KeyButton_3.TextColor3 = Color3.new(1, 1, 1)
192
KeyButton_3.TextSize = 37
193
KeyButton_3.TextStrokeTransparency = 0
194
KeyButton_3.TextWrapped = true
195
KeyButton_3.TextYAlignment = Enum.TextYAlignment.Top
196
197
MoveName_3.Name = "MoveName"
198
MoveName_3.Parent = Move3
199
MoveName_3.BackgroundColor3 = Color3.new(1, 1, 1)
200
MoveName_3.BackgroundTransparency = 1
201
MoveName_3.Position = UDim2.new(0, 0, 0, 40)
202
MoveName_3.Size = UDim2.new(1, 0, 1, -40)
203
MoveName_3.ZIndex = 7
204
MoveName_3.Font = Enum.Font.SourceSansLight
205
MoveName_3.FontSize = Enum.FontSize.Size48
206
MoveName_3.Text = "Sand Hail"
207
MoveName_3.TextColor3 = Color3.new(1, 1, 1)
208
MoveName_3.TextSize = 37
209
MoveName_3.TextStrokeTransparency = 0
210
MoveName_3.TextWrapped = true
211
MoveName_3.TextYAlignment = Enum.TextYAlignment.Top
212
213
Move4.Name = "Move4"
214
Move4.Parent = MainFrame
215
Move4.BackgroundColor3 = Color3.new(0.847059, 0.784314, 0.521569)
216
Move4.BackgroundTransparency = 0.5
217
Move4.BorderColor3 = Color3.new(0.847059, 0.784314, 0.521569)
218
Move4.BorderSizePixel = 0
219
Move4.Position = UDim2.new(0, 0, 0, 270)
220
Move4.Size = UDim2.new(1, 0, 0, 80)
221
Move4.ZIndex = 5
222
223
Bar4.Name = "Bar4"
224
Bar4.Parent = Move4
225
Bar4.BackgroundColor3 = Color3.new(144/255, 120/255, 92/255)
226
Bar4.BorderSizePixel = 0
227
Bar4.Size = UDim2.new(1, 0, 1, 0)
228
Bar4.ZIndex = 6
229
230
KeyButton_4.Name = "KeyButton"
231
KeyButton_4.Parent = Move4
232
KeyButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
233
KeyButton_4.BackgroundTransparency = 1
234
KeyButton_4.Size = UDim2.new(1, 0, 1, -40)
235
KeyButton_4.ZIndex = 7
236
KeyButton_4.Font = Enum.Font.SourceSansLight
237
KeyButton_4.FontSize = Enum.FontSize.Size48
238
KeyButton_4.Text = "[Z]"
239
KeyButton_4.TextColor3 = Color3.new(1, 1, 1)
240
KeyButton_4.TextSize = 37
241
KeyButton_4.TextStrokeTransparency = 0
242
KeyButton_4.TextWrapped = true
243
KeyButton_4.TextYAlignment = Enum.TextYAlignment.Top
244
245
MoveName_4.Name = "MoveName"
246
MoveName_4.Parent = Move4
247
MoveName_4.BackgroundColor3 = Color3.new(1, 1, 1)
248
MoveName_4.BackgroundTransparency = 1
249
MoveName_4.Position = UDim2.new(0, 0, 0, 40)
250
MoveName_4.Size = UDim2.new(1, 0, 1, -40)
251
MoveName_4.ZIndex = 7
252
MoveName_4.Font = Enum.Font.SourceSansLight
253
MoveName_4.FontSize = Enum.FontSize.Size48
254
MoveName_4.Text = "Sand Defence"
255
MoveName_4.TextColor3 = Color3.new(1, 1, 1)
256
MoveName_4.TextSize = 37
257
MoveName_4.TextStrokeTransparency = 0
258
MoveName_4.TextWrapped = true
259
MoveName_4.TextYAlignment = Enum.TextYAlignment.Top
260
local runDummyScript = function(f,scri)
261
local oldenv = getfenv(f)
262
local newenv = setmetatable({}, {
263
__index = function(_, k)
264
if k:lower() == 'script' then
265
return scri
266
else
267
return oldenv[k]
268
end
269
end
270
})
271
setfenv(f, newenv)
272
ypcall(function() f() end)
273
end
274
cors = {}
275
mas = Instance.new("Model",game:GetService("Lighting")) 
276
mas.Name = "CompiledModel"
277
o1 = Instance.new("Model")
278
o2 = Instance.new("Part")
279
o3 = Instance.new("SpecialMesh")
280
o4 = Instance.new("Weld")
281
o5 = Instance.new("Part")
282
o6 = Instance.new("Decal")
283
o7 = Instance.new("SpecialMesh")
284
o8 = Instance.new("Weld")
285
o9 = Instance.new("Part")
286
o10 = Instance.new("SpecialMesh")
287
o11 = Instance.new("Weld")
288
o12 = Instance.new("Part")
289
o13 = Instance.new("Decal")
290
o14 = Instance.new("SpecialMesh")
291
o15 = Instance.new("Weld")
292
o16 = Instance.new("Part")
293
o17 = Instance.new("SpecialMesh")
294
o18 = Instance.new("Weld")
295
o19 = Instance.new("Part")
296
o20 = Instance.new("Part")
297
o21 = Instance.new("Weld")
298
o1.Name = "GaaraGourd"
299
o1.Parent = mas
300
o2.Name = "Clothe"
301
o2.Parent = o1
302
o2.Material = Enum.Material.Fabric
303
o2.BrickColor = BrickColor.new("Really red")
304
o2.Position = Vector3.new(15.886075, -398.4841, -74.409996)
305
o2.Rotation = Vector3.new(0, 0, 60)
306
o2.Velocity = Vector3.new(0, -421.831573, 0)
307
o2.CanCollide = false
308
o2.Size = Vector3.new(1.13999987, 0.587368369, 1.41999996)
309
o2.CFrame = CFrame.new(15.886075, -398.4841, -74.409996, 0.500004709, -0.866032958, 0, 0.866032958, 0.500004709, 0, 0, 0, 1)
310
o2.BottomSurface = Enum.SurfaceType.Smooth
311
o2.TopSurface = Enum.SurfaceType.Smooth
312
o2.Color = Color3.new(1, 0, 0)
313
o2.Position = Vector3.new(15.886075, -398.4841, -74.409996)
314
o3.Parent = o2
315
o3.Scale = Vector3.new(1.5, 1.5, 1.5)
316
o3.MeshType = Enum.MeshType.Sphere
317
o4.Name = "Clothe"
318
o4.Parent = o2
319
o4.C0 = CFrame.new(-0.113934517, 0.165898561, 1.09000397, 0.500004709, -0.866032958, 0, 0.866032958, 0.500004709, 0, 0, 0, 1)
320
o4.Part0 = o19
321
o4.Part1 = o2
322
o5.Name = "PotPart"
323
o5.Parent = o1
324
o5.Material = Enum.Material.Sand
325
o5.BrickColor = BrickColor.new("Pastel brown")
326
o5.Position = Vector3.new(16.6000042, -398.899994, -74.2699966)
327
o5.Velocity = Vector3.new(0, -421.831573, 0)
328
o5.CanCollide = false
329
o5.Size = Vector3.new(2.20000005, 2.20000005, 2.20000005)
330
o5.CFrame = CFrame.new(16.6000042, -398.899994, -74.2699966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
331
o5.BottomSurface = Enum.SurfaceType.Smooth
332
o5.TopSurface = Enum.SurfaceType.Smooth
333
o5.Color = Color3.new(1, 0.8, 0.6)
334
o5.Position = Vector3.new(16.6000042, -398.899994, -74.2699966)
335
o6.Parent = o5
336
o6.Texture = "http://www.roblox.com/asset/?id=880087137"
337
o6.Face = Enum.NormalId.Back
338
o7.Parent = o5
339
o7.MeshType = Enum.MeshType.Sphere
340
o8.Name = "PotPart"
341
o8.Parent = o5
342
o8.C0 = CFrame.new(0.599994659, -0.249986887, 1.23000336, 1, 0, 0, 0, 1, 0, 0, 0, 1)
343
o8.Part0 = o19
344
o8.Part1 = o5
345
o9.Name = "PotPart"
346
o9.Parent = o1
347
o9.Material = Enum.Material.Sand
348
o9.BrickColor = BrickColor.new("Pastel brown")
349
o9.Position = Vector3.new(14.5799007, -397.624969, -74.3699951)
350
o9.Rotation = Vector3.new(0, 0, -30)
351
o9.CanCollide = false
352
o9.Size = Vector3.new(0.5, 0.5, 0.5)
353
o9.CFrame = CFrame.new(14.5799007, -397.624969, -74.3699951, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
354
o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
355
o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
356
o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
357
o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
358
o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
359
o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
360
o9.Color = Color3.new(1, 0.8, 0.6)
361
o9.Position = Vector3.new(14.5799007, -397.624969, -74.3699951)
362
o10.Parent = o9
363
o10.MeshType = Enum.MeshType.Cylinder
364
o11.Name = "PotPart"
365
o11.Parent = o9
366
o11.C0 = CFrame.new(-1.4201088, 1.02501559, 1.13000488, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
367
o11.Part0 = o19
368
o11.Part1 = o9
369
o12.Name = "PotPart"
370
o12.Parent = o1
371
o12.Material = Enum.Material.Sand
372
o12.BrickColor = BrickColor.new("Pastel brown")
373
o12.Position = Vector3.new(15.2999992, -398.049988, -74.2699966)
374
o12.Velocity = Vector3.new(0, -421.831573, 0)
375
o12.CanCollide = false
376
o12.Size = Vector3.new(1.89999998, 1.89999998, 1.89999998)
377
o12.CFrame = CFrame.new(15.2999992, -398.049988, -74.2699966, 1.00000238, 0, 0, 0, 1.00000238, 0, 0, 0, 1)
378
o12.BottomSurface = Enum.SurfaceType.Smooth
379
o12.TopSurface = Enum.SurfaceType.Smooth
380
o12.Color = Color3.new(1, 0.8, 0.6)
381
o12.Position = Vector3.new(15.2999992, -398.049988, -74.2699966)
382
o13.Parent = o12
383
o13.Texture = "http://www.roblox.com/asset/?id=880087137"
384
o13.Face = Enum.NormalId.Top
385
o14.Parent = o12
386
o14.MeshType = Enum.MeshType.Sphere
387
o15.Name = "PotPart"
388
o15.Parent = o12
389
o15.C0 = CFrame.new(-0.7000103, 0.600013494, 1.23000336, 1.00000238, 0, 0, 0, 1.00000238, 0, 0, 0, 1)
390
o15.Part0 = o19
391
o15.Part1 = o12
392
o16.Name = "PotPart"
393
o16.Parent = o1
394
o16.Material = Enum.Material.SmoothPlastic
395
o16.BrickColor = BrickColor.new("Really black")
396
o16.Position = Vector3.new(14.3900938, -397.504974, -74.3649673)
397
o16.Rotation = Vector3.new(0, 0, -30)
398
o16.Velocity = Vector3.new(0, -421.831573, 0)
399
o16.CanCollide = false
400
o16.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
401
o16.CFrame = CFrame.new(14.3900938, -397.504974, -74.3649673, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
402
o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
403
o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
404
o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
405
o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
406
o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
407
o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
408
o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
409
o16.Position = Vector3.new(14.3900938, -397.504974, -74.3649673)
410
o17.Parent = o16
411
o17.Scale = Vector3.new(0.300000012, 2, 2)
412
o17.MeshType = Enum.MeshType.Cylinder
413
o18.Name = "PotPart"
414
o18.Parent = o16
415
o18.C0 = CFrame.new(-1.60991573, 1.14501595, 1.13503265, 0.866028786, 0.500001431, 0, -0.500001431, 0.866028786, 0, 0, 0, 1)
416
o18.Part0 = o19
417
o18.Part1 = o16
418
o19.Name = "Handle"
419
o19.Parent = o1
420
o19.BrickColor = BrickColor.new("Institutional white")
421
o19.Transparency = 1
422
o19.Position = Vector3.new(16.0000095, -398.649994, -75.5)
423
o19.Velocity = Vector3.new(0, -421.831573, 0)
424
o19.CanCollide = false
425
o19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
426
o19.CFrame = CFrame.new(16.0000095, -398.649994, -75.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
427
o19.LeftSurface = Enum.SurfaceType.Weld
428
o19.RightSurface = Enum.SurfaceType.Weld
429
o19.Color = Color3.new(0.972549, 0.972549, 0.972549)
430
o19.Position = Vector3.new(16.0000095, -398.649994, -75.5)
431
o20.Name = "CastPart"
432
o20.Parent = o1
433
o20.Material = Enum.Material.Sand
434
o20.BrickColor = BrickColor.new("Pastel brown")
435
o20.Transparency = 1
436
o20.Position = Vector3.new(14.3000011, -397.464996, -74.3800125)
437
o20.Velocity = Vector3.new(0, -421.831573, 0)
438
o20.CanCollide = false
439
o20.Size = Vector3.new(0.5, 0.5, 0.5)
440
o20.CFrame = CFrame.new(14.3000011, -397.464996, -74.3800125, 1.00000477, 0, 0, 0, 1.00000477, 0, 0, 0, 1)
441
o20.BottomSurface = Enum.SurfaceType.Smooth
442
o20.TopSurface = Enum.SurfaceType.Smooth
443
o20.Color = Color3.new(1, 0.8, 0.6)
444
o20.Position = Vector3.new(14.3000011, -397.464996, -74.3800125)
445
o21.Name = "CastPart"
446
o21.Parent = o20
447
o21.C0 = CFrame.new(-1.70000839, 1.18500566, 1.11998749, 1.00000477, 0, 0, 0, 1.00000477, 0, 0, 0, 1)
448
o21.Part0 = o19
449
o21.Part1 = o20
450
mas.Parent = workspace
451
mas:MakeJoints()
452
local mas1 = mas:GetChildren()
453
for i=1,#mas1 do
454
	mas1[i].Parent = char 
455
	ypcall(function() mas1[i]:MakeJoints() end)
456
end
457
mas:Destroy()
458
for i=1,#cors do
459
coroutine.resume(cors[i])
460
end
461
462
local w1 = Instance.new("Weld", o19)
463
w1.Part0 = tors
464
w1.Part1 = o19
465
w1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
466
467
--------------------------------------------------------------
468
--CFrame.new(0, 0 + 0.1 * math.cos(sine/10), 0)
469
RS=tors:FindFirstChild("Right Shoulder")
470
LS=tors:FindFirstChild("Left Shoulder")
471
RH=tors:FindFirstChild("Right Hip")
472
LH=tors:FindFirstChild("Left Hip")
473
RJ=hrp:FindFirstChild("RootJoint")
474
N=tors:FindFirstChild("Neck")
475
--------------------------------------
476
RSC0=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
477
LSC0=CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
478
RHC0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
479
LHC0=CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
480
NC0=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
481
RJC0=CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
482
--------------------------------------
483
function lerpz(joint,prop,cfrmz,alp)
484
        joint[prop]=joint[prop]:lerp(cfrmz,alp)
485
end
486
function RemoveItem(obj,tim)
487
local RemoveItem2 = coroutine.wrap(function(object,howlong)
488
	wait(howlong)
489
	object:Remove()
490
end)
491
RemoveItem2(obj,tim)
492
end
493
local walk = false
494
local idle = false
495
local jump = false
496
local jumpCheck = false
497
local fall = false
498
local AnimDisable = false
499
game:GetService("RunService").RenderStepped:connect(function()
500
sine=sine+change
501
if AnimDisable == false then
502
if jumpCheck == true then
503
idle = false
504
walk = false
505
fall = false
506
jump = true
507
elseif human.MoveDirection ~= Vector3.new(0,0,0) then
508
fall = false
509
walk = true
510
jump = false
511
idle = false
512
elseif human.MoveDirection == Vector3.new(0,0,0) then
513
walk = false
514
fall = false
515
jump = false
516
idle = true
517
end
518
else
519
walk = false
520
fall = false
521
jump = false
522
idle = false
523
end
524
end)
525
human.StateChanged:connect(function(state)
526
	if state == Enum.HumanoidStateType.Jumping then
527
		jumpCheck = true
528
	else
529
		jumpCheck = false
530
	end
531
end)
532
local playanims = coroutine.wrap(function()
533
while wait() do
534
if idle == true then
535
human.JumpPower = 60
536
lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-12)+rd(5)*math.cos(sine/14),rd(0),rd(-20)),0.3)
537
lerpz(RS,'C0',RSC0*cf(0,0.07*math.cos(sine/14),0)*ang(rd(10)*math.cos(sine/14),rd(0),rd(0)),0.3)
538
lerpz(LS,'C0',LSC0*cf(0,0.07*math.cos(sine/14),0)*ang(rd(10)*math.cos(sine/14),rd(0),rd(0)),0.3)
539
lerpz(RH,'C0',RHC0*cf(0.5,0.1-0.1*math.cos(sine/14),0)*ang(rd(-5),rd(0),rd(20)),0.3)
540
lerpz(LH,'C0',LHC0*cf(0,-0.1-0.1*math.cos(sine/14),0)*ang(rd(5),rd(0),rd(0)),0.3)
541
lerpz(RJ,'C0',RJC0*cf(0,0,0.07+0.1*math.cos(sine/14))*ang(rd(15),rd(0),rd(20)),0.3)
542
elseif walk ==  true then
543
for i = 1,2 do wait()
544
if walk ==  true then
545
lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-35),rd(10)*math.cos(sine/4),rd(0)),0.3)
546
lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-27)+rd(5)*math.cos(sine/5)),0.3)
547
lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(27)-rd(5)*math.cos(sine/5)),0.3)
548
lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
549
lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
550
lerpz(RJ,'C0',RJC0*cf(0,0,-0.2)*ang(rd(35),rd(0),rd(10)*math.cos(sine/4)),0.3)
551
else break
552
end
553
end
554
for i = 1,2 do wait()
555
if walk ==  true then
556
lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-35),rd(10)*math.cos(sine/4),rd(0)),0.3)
557
lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-27)+rd(5)*math.cos(sine/5)),0.3)
558
lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(27)-rd(5)*math.cos(sine/5)),0.3)
559
lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
560
lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)+rd(60)*math.cos(sine/4)),0.3)
561
lerpz(RJ,'C0',RJC0*cf(0,0,-0.2)*ang(rd(35),rd(0),rd(10)*math.cos(sine/4)),0.3)
562
else break
563
end
564
end
565
elseif jump ==  true then
566
for i = 1,10 do wait()
567
if jump ==  true then
568
lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(0)),0.5)
569
lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(-19)),0.5)
570
lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(19)),0.5)
571
lerpz(RH,'C0',RHC0*cf(0.4,0.6,0)*ang(rd(0),rd(0),rd(0)),0.5)
572
lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.5)
573
lerpz(RJ,'C0',RJC0*cf(0,0,0)*ang(rd(20),rd(0),rd(0)),0.5)
574
else break
575
end
576
end
577
end
578
end
579
end)
580
playanims()
581
local movenum1 = {0,1000/40}
582
local movenum2 = {0,1000/20}
583
local movenum3 = {0,1000/10}
584
local movenum4 = {0,1000/10}
585
local max = 1000
586
local disable = false
587
local regenMove = coroutine.wrap(function(timer)
588
	while true do
589
		if movenum1[1] < max then
590
			movenum1[1] = movenum1[1]+movenum1[2]
591
		end
592
		if movenum2[1] < max then
593
			movenum2[1] = movenum2[1]+movenum2[2]
594
		end
595
		if movenum3[1] < max then
596
			movenum3[1] = movenum3[1]+movenum3[2]
597
		end
598
		if movenum4[1] < max then
599
			movenum4[1] = movenum4[1]+movenum4[2]
600
		end
601
		wait(timer)
602
	end
603
end)
604
regenMove(1)
605
local BarChanger = coroutine.wrap(function()
606
while true do
607
	Bar1:TweenSize(UDim2.new(0,(movenum1[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
608
	Bar2:TweenSize(UDim2.new(0,(movenum2[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
609
	Bar3:TweenSize(UDim2.new(0,(movenum3[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
610
	Bar4:TweenSize(UDim2.new(0,(movenum4[1]/max*MainFrame.Size.X.Offset),1,0),"Out","Quad",0.5,true)
611
	wait(0.25)
612
	end
613
end)
614
BarChanger()
615
mouse.KeyDown:connect(function(key)
616
	key = key:lower()
617
	if disable == false then
618
	if key == "z" and movenum4[1]>=max then
619
		disable = true
620
		AnimDisable = true
621
		local active1 = true
622
		char.Humanoid.WalkSpeed = 0
623
		movenum4[1] = 0
624
		for i = 1,10 do wait()
625
		lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(15),rd(0),rd(0)),0.25)
626
		lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-180)),0.1)
627
		lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(180)),0.1)
628
		lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(-10),rd(0),rd(-15)),0.25)
629
		lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(-10),rd(0),rd(15)),0.25)
630
		lerpz(RJ,'C0',RJC0*cf(0,0,0)*ang(rd(-15),rd(0),rd(0)),0.25)
631
		end
632
	local c = Instance.new("Part",char)
633
	c.Size =  Vector3.new(20,1,20)
634
	c.BrickColor = BrickColor.new("Pastel brown")
635
	c.Material = "Sand"
636
	c.CanCollide = false
637
	c.Anchored = true
638
	c.BottomSurface = "Smooth"
639
	c.TopSurface = "Smooth"
640
	c.CFrame = hrp.CFrame*CFrame.new(0,-4,0)
641
	c.Touched:connect(function(hit)
642
		if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name == "Right Leg" and hit.Parent ~= char then
643
			hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
644
			hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
645
			wait(2)
646
			hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
647
		end
648
	end)
649
	local sandEff = coroutine.wrap(function()
650
		while active1 == true do wait()
651
			local sand = Instance.new("Part",char)
652
			local sandSize = math.random(0.5,1)
653
			sand.Name = "Sand"
654
			sand.BrickColor = BrickColor.new("Pastel brown")
655
			sand.Material = "Sand"
656
			sand.CanCollide = false
657
			sand.Anchored = true
658
			sand.Size = Vector3.new(sandSize,sandSize,sandSize)
659
			sand.CFrame = c.CFrame*CFrame.new(math.random(-10,10),math.random(-0.5,0.5),math.random(-10,10))
660
			sand.CFrame = sand.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
661
			RemoveItem(sand,2)
662
			local sander = coroutine.wrap(function()
663
			for i = 1,10 do wait()
664
				sand.Size = sand.Size+Vector3.new(-0.1,-0.1,-0.1)
665
				sand.Transparency = sand.Transparency+0.1
666
			end
667
			end)
668
			sander()
669
		end
670
	end)
671
	sandEff()
672
	local mesh = Instance.new("SpecialMesh",c)
673
	mesh.MeshType = "Sphere"
674
	mesh.Scale = Vector3.new(1.35, 1.35, 1.35)
675
	for i = 1,25 do wait()
676
		local createSand = coroutine.wrap(function()
677
			local b = Instance.new("Part",char)
678
			b.BrickColor = BrickColor.new("Pastel brown")
679
			b.Material = "Sand"
680
			b.CanCollide = false
681
			b.Size = Vector3.new(math.random(0.2,0.5),math.random(0.2,0.5),math.random(0.2,0.5))
682
			b.Position = o20.Position
683
			RemoveItem(b,1)
684
		end)
685
		createSand()
686
		lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-180)),0.1)
687
		lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(0),rd(0),rd(180)),0.1)
688
	c.CFrame = c.CFrame*CFrame.new(0,0.04,0)
689
	end
690
	char.Humanoid.WalkSpeed = ws
691
	AnimDisable = false
692
	wait(4)
693
	for i = 1,25 do wait()
694
	c.CFrame = c.CFrame*CFrame.new(0,-0.04,0)
695
	end
696
	active1 = false
697
	RemoveItem(c,0)
698
	disable = false
699
	elseif key == "x" and movenum3[1]>=max then
700
		disable = true
701
		AnimDisable = true
702
		local active1 = true
703
		char.Humanoid.WalkSpeed = 0
704
		movenum3[1] = 0
705
		for i = 1,30 do wait()
706
		lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(35),rd(0),rd(0)),0.3)
707
		lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(0),rd(-20),rd(-60)),0.3)
708
		lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(20),rd(0),rd(-60)),0.3)
709
		lerpz(RH,'C0',RHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(-20)),0.3)
710
		lerpz(LH,'C0',LHC0*cf(-0.2,1,0)*ang(rd(0),rd(0),rd(0)),0.3)
711
		lerpz(RJ,'C0',RJC0*cf(0,0,-1.7)*ang(rd(60),rd(0),rd(0)),0.3)
712
		end
713
		function idek(part)
714
		local sandEffect = coroutine.wrap(function()
715
			while active1 == true do wait()
716
			local createff = coroutine.wrap(function()
717
			local sand = Instance.new("Part",char)
718
			local sandSize = math.random(0.5,1)
719
			sand.Name = "Sand"
720
			sand.BrickColor = BrickColor.new("Pastel brown")
721
			sand.Material = "Sand"
722
			sand.CanCollide = false
723
			sand.Anchored = true
724
			sand.Size = Vector3.new(sandSize,sandSize,sandSize)
725
			sand.CFrame = part.CFrame*CFrame.new(0,-1,0)
726
			sand.CFrame = sand.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
727
			RemoveItem(sand,2)
728
			for i = 1,10 do wait()
729
				sand.Size = sand.Size+Vector3.new(-0.1,-0.1,-0.1)
730
				sand.Transparency = sand.Transparency+0.1
731
			end
732
			end)
733
			createff()
734
			end
735
		end)
736
		sandEffect()
737
		end
738
		idek(larm)
739
		idek(rarm)
740
		for i = 1,15 do wait()
741
		lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
742
		lerpz(RS,'C0',RSC0*cf(0,0,0.7)*ang(rd(-120),rd(0),rd(0)),0.2)
743
		lerpz(LS,'C0',LSC0*cf(0,0,0.7)*ang(rd(-120),rd(0),rd(0)),0.2)
744
		lerpz(RH,'C0',RHC0*cf(0.2,0.5,0)*ang(rd(0),rd(0),rd(-10)),0.2)
745
		lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
746
		lerpz(RJ,'C0',RJC0*cf(0,0,4)*ang(rd(0),rd(0),rd(0)),0.2)
747
		end
748
		local waiter = true
749
		function creator(part)
750
		local createHail = coroutine.wrap(function()
751
		local hail = Instance.new("Part",char)
752
		hail.Shape = "Ball"
753
		hail.BottomSurface = "Smooth"
754
		hail.TopSurface = "Smooth"
755
		hail.Size = Vector3.new(0.2,0.2,0.2)
756
		hail.Transparency = 1
757
		hail.Name = "Sanderb"
758
		hail.Material = "Sand"
759
		hail.CanCollide = false
760
		hail.Anchored = true
761
		hail.BrickColor = BrickColor.new("Pastel brown")
762
		hail.CFrame = part.CFrame*CFrame.new(0,-4,0)
763
		RemoveItem(hail,20)
764
		local debunk = false
765
		for i = 1,10 do wait()
766
			hail.Size = hail.Size+Vector3.new(0.2,0.2,0.2)
767
			hail.Transparency = hail.Transparency-0.1
768
		end
769
		hail.Touched:connect(function(hit)
770
			if debunk == false and hit.Name ~= "Sanderb" then
771
				debunk = true
772
				for i = 1,5 do wait()
773
				hail.Transparency = hail.Transparency+0.2
774
				end
775
				hail:Remove()
776
			end
777
		end)
778
		local mag = (hrp.Position - mouse.Hit.p).magnitude
779
		local waiter = mag/30
780
		local ti = TweenInfo.new(waiter,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut,0,false,0)
781
		local pp = {CFrame = CFrame.new((mouse.Hit.p.X),(mouse.Hit.p.Y),(mouse.Hit.p.Z))}
782
		local tween = ts:Create(hail,ti,pp)
783
		tween:Play()
784
		local lol = coroutine.wrap(function()
785
			wait(waiter)
786
			for i = 1,5 do wait()
787
				hail.Transparency = hail.Transparency+0.2
788
			end
789
			hail:Remove()
790
		end)
791
		lol()
792
		end)
793
		createHail()
794
		end
795
		for i = 1,5 do wait(0.2)
796
		creator(larm)
797
		creator(rarm)
798
		end
799
		waiter = false
800
		-----------------------------------------------
801
802
	repeat wait() until waiter == false
803
		char.Humanoid.WalkSpeed = ws
804
		disable = false
805
		active1 = false
806
		AnimDisable = false
807
	elseif key == "c" and movenum2[1]>=max then
808
		local hrpcframe = hrp.CFrame
809
		local num = 0
810
		local chain = 3
811
		local big = 0
812
		local height = 0
813
		char.Humanoid.WalkSpeed = 0
814
		disable = true
815
		AnimDisable = true
816
		movenum2[1] = 0
817
		for i = 1,15 do wait()
818
		lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
819
		lerpz(RS,'C0',RSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(0)),0.2)
820
		lerpz(LS,'C0',LSC0*cf(0,0,0)*ang(rd(-20),rd(0),rd(0)),0.2)
821
		lerpz(RH,'C0',RHC0*cf(0.2,0.8,0)*ang(rd(0),rd(0),rd(0)),0.2)
822
		lerpz(LH,'C0',LHC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
823
		lerpz(RJ,'C0',RJC0*cf(0,0,0)*ang(rd(0),rd(0),rd(0)),0.2)
824
		end
825
		for i = 1,8 do wait()
826
		lerpz(N,'C0',NC0*cf(0,0,0)*ang(rd(-12)+rd(5),rd(0),rd(-20)),0.5)
827
		lerpz(RS,'C0',RSC0*cf(0,0.07,0)*ang(rd(0),rd(0),rd(-30)),0.5)
828
		lerpz(LS,'C0',LSC0*cf(0,0.07,0)*ang(rd(0),rd(0),rd(30)),0.5)
829
		lerpz(RH,'C0',RHC0*cf(0.5,0.1,0)*ang(rd(-5),rd(0),rd(20)),0.5)
830
		lerpz(LH,'C0',LHC0*cf(0,-0.1,0)*ang(rd(5),rd(0),rd(0)),0.5)
831
		lerpz(RJ,'C0',RJC0*cf(0,0,0.07)*ang(rd(15),rd(0),rd(20)),0.5)
832
		end
833
		local createWave = coroutine.wrap(function()
834
		for i = 1,30 do wait()
835
		local wave = Instance.new("Part",char)
836
		wave.BottomSurface = "Smooth"
837
		wave.TopSurface = "Smooth"
838
		wave.Size = Vector3.new(4+big,1,chain)
839
		wave.Transparency = 0
840
		wave.Material = "Sand"
841
		wave.CanCollide = false
842
		wave.Anchored = true
843
		wave.BrickColor = BrickColor.new("Pastel brown")
844
		wave.CFrame = hrpcframe*CFrame.new(0,-3,-chain-num-1)
845
		local randomnum = math.random(2.0,3.1)
846
		local sandPath1 = Instance.new("Part",char)
847
		sandPath1.BottomSurface = "Smooth"
848
		sandPath1.TopSurface = "Smooth"
849
		sandPath1.Size = Vector3.new(randomnum,randomnum,randomnum)
850
		sandPath1.Transparency = 0
851
		sandPath1.Material = "Sand"
852
		sandPath1.CanCollide = false
853
		sandPath1.Anchored = true
854
		sandPath1.BrickColor = BrickColor.new("Pastel brown")
855
		sandPath1.CFrame = wave.CFrame*CFrame.new((wave.Size.X/2),0,0)
856
		sandPath1.CFrame = sandPath1.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
857
		RemoveItem(sandPath1,4)
858
		local sandPath2 = Instance.new("Part",char)
859
		sandPath2.BottomSurface = "Smooth"
860
		sandPath2.TopSurface = "Smooth"
861
		sandPath2.Size = Vector3.new(randomnum,randomnum,randomnum)
862
		sandPath2.Transparency = 0
863
		sandPath2.Material = "Sand"
864
		sandPath2.CanCollide = false
865
		sandPath2.Anchored = true
866
		sandPath2.BrickColor = BrickColor.new("Pastel brown")
867
		sandPath2.CFrame = wave.CFrame*CFrame.new(-(wave.Size.X/2),0,0)
868
		sandPath2.CFrame = sandPath2.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
869
		RemoveItem(sandPath2,4)
870
		wave.Touched:connect(function(hit)
871
		if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name == "Right Leg" and hit.Parent ~= char then
872
			local bv = Instance.new("BodyPosition", hit)
873
			game.Debris:AddItem(bv,0.1)
874
			bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
875
			bv.Position = wave.CFrame*CFrame.new(0,20,0).p
876
			hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
877
			hit.Parent:FindFirstChild("Humanoid"):TakeDamage(49)
878
			wait(3/2)
879
			hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
880
		end
881
	end)
882
		RemoveItem(wave,0.6)
883
		num=num+chain
884
		big=big+0.5
885
		local trans = coroutine.wrap(function()
886
			for i = 1,10 do wait()
887
				wave.Transparency = wave.Transparency+0.1
888
				--wave.Size = wave.Size+Vector3.new(-0.1,-0.1,-0.1)
889
			end
890
			RemoveItem(wave,0)
891
		end)
892
		trans()
893
		end
894
		end)
895
		createWave()
896
		char.Humanoid.WalkSpeed = ws
897
		disable = false
898
		AnimDisable = false
899
	elseif key == "v" and movenum1[1]>=max then
900
		movenum1[1] = 0
901
	end
902
	end
903
end)
904
local sandEffect = coroutine.wrap(function()
905
			while true do wait(0.25)
906
			local createff = coroutine.wrap(function()
907
			local sand = Instance.new("Part",char)
908
			local sandpos = math.random(0.5,-0.5)
909
			sand.Name = "SandGourdEff"
910
			sand.BrickColor = BrickColor.new("Pastel brown")
911
			sand.Material = "Sand"
912
			sand.CanCollide = false
913
			sand.Anchored = true
914
			sand.Size = Vector3.new(0.2,0.2,0.2)
915
			sand.CFrame = o20.CFrame*CFrame.new(math.random(0.5,-0.5),math.random(0.5,-0.5),math.random(0.5,-0.5))
916
			sand.CFrame = sand.CFrame*CFrame.Angles(rd(math.random(1,360)),rd(math.random(1,360)),rd(math.random(1,360)))
917
			game.Debris:AddItem(sand,1)
918
			for i = 1,10 do wait()
919
				sand.Transparency = sand.Transparency+0.1
920
			end
921
			end)
922
			createff()
923
			end
924
		end)
925
		sandEffect()