SHOW:
|
|
- or go back to the newest paste.
1 | --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 5 and 6 and put your name where it says "YOUR NAME HERE" | |
2 | ||
3 | --https://github.com/Mokiros/roblox-FE-compatibility | |
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | - | Names = "memberhero"--------your name goes here |
5 | + | local Player,game,owner = owner,game |
6 | - | Player = game:GetService("Players").memberhero------your name goes also here |
6 | + | local RealPlayer = Player |
7 | do | |
8 | print("FE Compatibility code V2 by Mokiros") | |
9 | local RealPlayer = RealPlayer | |
10 | script.Parent = RealPlayer.Character | |
11 | ||
12 | --Fake event to make stuff like Mouse.KeyDown work | |
13 | local Disconnect_Function = function(this) | |
14 | this[1].Functions[this[2]] = nil | |
15 | end | |
16 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
17 | local FakeEvent_Metatable = {__index={ | |
18 | Connect = function(this,f) | |
19 | local i = tostring(math.random(0,10000)) | |
20 | while this.Functions[i] do | |
21 | i = tostring(math.random(0,10000)) | |
22 | end | |
23 | this.Functions[i] = f | |
24 | return setmetatable({this,i},Disconnect_Metatable) | |
25 | end | |
26 | }} | |
27 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
28 | local function fakeEvent() | |
29 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
30 | end | |
31 | ||
32 | --Creating fake input objects with fake variables | |
33 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
34 | FakeMouse.keyUp = FakeMouse.KeyUp | |
35 | FakeMouse.keyDown = FakeMouse.KeyDown | |
36 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
37 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
38 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
39 | end} | |
40 | --Merged 2 functions into one by checking amount of arguments | |
41 | CAS.UnbindAction = CAS.BindAction | |
42 | ||
43 | --This function will trigger the events that have been :Connect()'ed | |
44 | local function TriggerEvent(self,ev,...) | |
45 | for _,f in pairs(self[ev].Functions) do | |
46 | f(...) | |
47 | end | |
48 | end | |
49 | FakeMouse.TriggerEvent = TriggerEvent | |
50 | UIS.TriggerEvent = TriggerEvent | |
51 | ||
52 | --Client communication | |
53 | local Event = Instance.new("RemoteEvent") | |
54 | Event.Name = "UserInput_Event" | |
55 | Event.OnServerEvent:Connect(function(plr,io) | |
56 | if plr~=RealPlayer then return end | |
57 | FakeMouse.Target = io.Target | |
58 | FakeMouse.Hit = io.Hit | |
59 | if not io.isMouse then | |
60 | local b = io.UserInputState == Enum.UserInputState.Begin | |
61 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
62 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
63 | end | |
64 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
65 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
66 | end | |
67 | for _,t in pairs(CAS.Actions) do | |
68 | for _,k in pairs(t.Keys) do | |
69 | if k==io.KeyCode then | |
70 | t.Function(t.Name,io.UserInputState,io) | |
71 | end | |
72 | end | |
73 | end | |
74 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
75 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
76 | end | |
77 | end) | |
78 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
79 | local Mouse = owner:GetMouse() | |
80 | local UIS = game:GetService("UserInputService") | |
81 | local input = function(io,RobloxHandled) | |
82 | if RobloxHandled then return end | |
83 | --Since InputObject is a client-side instance, we create and pass table instead | |
84 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
85 | end | |
86 | UIS.InputBegan:Connect(input) | |
87 | UIS.InputEnded:Connect(input) | |
88 | ||
89 | local h,t | |
90 | --Give the server mouse data every second frame, but only if the values changed | |
91 | --If player is not moving their mouse, client won't fire events | |
92 | local HB = game:GetService("RunService").Heartbeat | |
93 | while true do | |
94 | if h~=Mouse.Hit or t~=Mouse.Target then | |
95 | h,t=Mouse.Hit,Mouse.Target | |
96 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
97 | end | |
98 | --Wait 2 frames | |
99 | for i=1,2 do | |
100 | HB:Wait() | |
101 | end | |
102 | end]==],script) | |
103 | ||
104 | ----Sandboxed game object that allows the usage of client-side methods and services | |
105 | --Real game object | |
106 | local RealGame = game | |
107 | ||
108 | --Metatable for fake service | |
109 | local FakeService_Metatable = { | |
110 | __index = function(self,k) | |
111 | local s = rawget(self,"_RealService") | |
112 | if s then | |
113 | return typeof(s[k])=="function" | |
114 | and function(_,...)return s[k](s,...)end or s[k] | |
115 | end | |
116 | end, | |
117 | __newindex = function(self,k,v) | |
118 | local s = rawget(self,"_RealService") | |
119 | if s then s[k]=v end | |
120 | end | |
121 | } | |
122 | local function FakeService(t,RealService) | |
123 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
124 | return setmetatable(t,FakeService_Metatable) | |
125 | end | |
126 | ||
127 | --Fake game object | |
128 | local FakeGame = { | |
129 | GetService = function(self,s) | |
130 | return rawget(self,s) or RealGame:GetService(s) | |
131 | end, | |
132 | Players = FakeService({ | |
133 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
134 | },"Players"), | |
135 | UserInputService = FakeService(UIS,"UserInputService"), | |
136 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
137 | RunService = FakeService({ | |
138 | _btrs = {}, | |
139 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
140 | BindToRenderStep = function(self,name,_,fun) | |
141 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
142 | end, | |
143 | UnbindFromRenderStep = function(self,name) | |
144 | self._btrs[name]:Disconnect() | |
145 | end, | |
146 | },"RunService") | |
147 | } | |
148 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
149 | FakeGame.service = FakeGame.GetService | |
150 | FakeService(FakeGame,game) | |
151 | --Changing owner to fake player object to support owner:GetMouse() | |
152 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
153 | end | |
154 | ||
155 | Names = "SNOW_COP"--------your name goes here | |
156 | Player = game:GetService("Players").LocalPlayer------your name goes also here | |
157 | Character = Player.Character | |
158 | PlayerGui = Player.PlayerGui | |
159 | Backpack = Player.Backpack | |
160 | Humanoid = Character.Humanoid | |
161 | Torso = Character.Torso | |
162 | Head = Character.Head | |
163 | LeftArm = Character["Left Arm"] | |
164 | RightArm = Character["Right Arm"] | |
165 | LeftLeg = Character["Left Leg"] | |
166 | RightLeg = Character["Right Leg"] | |
167 | Neck = Torso["Neck"] | |
168 | RightShoulder = Torso["Right Shoulder"] | |
169 | LeftShoulder = Torso["Left Shoulder"] | |
170 | RightHip = Torso["Right Hip"] | |
171 | LeftHip = Torso["Left Hip"] | |
172 | NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
173 | NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
174 | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
175 | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
176 | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
177 | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
178 | LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
179 | LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
180 | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
181 | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
182 | Damage = 2000000 | |
183 | Sound = Instance.new("Sound") | |
184 | Sound.Parent = Head | |
185 | Sound.Name = "Sound" | |
186 | Sound.Pitch = .8 | |
187 | Sound.SoundId = "" | |
188 | Sound.Volume = 2 | |
189 | Stuff = Player.Character:GetChildren() | |
190 | for i = 1 , #Stuff do | |
191 | if Stuff[i].Name == "Shirt" or Stuff[i].Name == "Pants" or Stuff[i].className == "Hat" then | |
192 | Stuff[i]:Remove() | |
193 | end | |
194 | end | |
195 | Torso.BrickColor = BrickColor.new("really blue") | |
196 | Head.BrickColor = BrickColor.new("really blue") | |
197 | RightArm.BrickColor = BrickColor.new("really blue") | |
198 | LeftArm.BrickColor = BrickColor.new("really blue") | |
199 | RightLeg.BrickColor = BrickColor.new("really blue") | |
200 | LeftLeg.BrickColor = BrickColor.new("really blue") | |
201 | Torso.Reflectance = .4 | |
202 | Head.Reflectance = .4 | |
203 | RightArm.Reflectance = .4 | |
204 | LeftArm.Reflectance = .4 | |
205 | RightLeg.Reflectance = .4 | |
206 | LeftLeg.Reflectance = .4 | |
207 | Character.Head.face:remove() | |
208 | Eye1 = Instance.new("Part") | |
209 | Eye1.Parent = Character | |
210 | Eye1.Size = Vector3.new(1,1,1) | |
211 | Eye1.TopSurface = "Smooth" | |
212 | Eye1.BottomSurface = "Smooth" | |
213 | Eye1.CanCollide = false | |
214 | Eye1.Reflectance = .1 | |
215 | Eye1.FormFactor = "Symmetric" | |
216 | Eye1.BrickColor = BrickColor.new("Lime green") | |
217 | e1m=Instance.new("BlockMesh") | |
218 | e1m.Scale=Vector3.new(.25,.2,.25) | |
219 | e1m.Bevel=.1 | |
220 | e1m.Parent=Eye1 | |
221 | Eye1:BreakJoints() | |
222 | pweld = Instance.new("Weld") | |
223 | pweld.Parent = Head | |
224 | pweld.Part0 = Head | |
225 | pweld.Part1 = Eye1 | |
226 | pweld.C0 = CFrame.new(.2,0.21,-.55) | |
227 | Eye2 = Instance.new("Part") | |
228 | Eye2.Parent = Character | |
229 | Eye2.Size = Vector3.new(1,1,1) | |
230 | Eye2.TopSurface = "Smooth" | |
231 | Eye2.BottomSurface = "Smooth" | |
232 | Eye2.CanCollide = false | |
233 | Eye2.Reflectance = .1 | |
234 | Eye2.FormFactor = "Symmetric" | |
235 | Eye2.BrickColor = BrickColor.new("Lime green") | |
236 | e2m=Instance.new("BlockMesh") | |
237 | e2m.Scale=Vector3.new(.25,.2,.25) | |
238 | e2m.Bevel=.1 | |
239 | e2m.Parent=Eye2 | |
240 | Eye2:BreakJoints() | |
241 | pweld = Instance.new("Weld") | |
242 | pweld.Parent = Head | |
243 | pweld.Part0 = Head | |
244 | pweld.Part1 = Eye2 | |
245 | pweld.C0 = CFrame.new(-.2,0.21,-.55) | |
246 | Mouth = Instance.new("Part") | |
247 | Mouth.Parent = Character | |
248 | Mouth.Size = Vector3.new(1,1,1) | |
249 | Mouth.TopSurface = "Smooth" | |
250 | Mouth.BottomSurface = "Smooth" | |
251 | Mouth.CanCollide = false | |
252 | Mouth.Reflectance = .1 | |
253 | Mouth.FormFactor = "Symmetric" | |
254 | Mouth.BrickColor = BrickColor.new("Lime green") | |
255 | MouthMesh=Instance.new("SpecialMesh") | |
256 | MouthMesh.Scale=Vector3.new(.9,0.2,1.05) | |
257 | MouthMesh.MeshType = "Sphere" | |
258 | MouthMesh.Parent=Mouth | |
259 | Mouth:BreakJoints() | |
260 | meld = Instance.new("Weld") | |
261 | meld.Parent = Head | |
262 | meld.Part0 = Head | |
263 | meld.Part1 = Mouth | |
264 | meld.C0 = CFrame.new(0,-.3,-.1) | |
265 | function PwnWelds() | |
266 | TiltX = 0 | |
267 | TiltY = 0 | |
268 | TiltZ = 1.57 | |
269 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ) | |
270 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ) | |
271 | TiltX = 0.6 | |
272 | TiltY = 0 | |
273 | TiltZ = 0 | |
274 | MoveX = 0 | |
275 | MoveY = 0 | |
276 | MoveZ = -0.3 | |
277 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
278 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
279 | TiltX = -0.05 | |
280 | TiltY = 0 | |
281 | TiltZ = 0 | |
282 | MoveX = 0 | |
283 | MoveY = 0.1 | |
284 | MoveZ = 0 | |
285 | RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
286 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ) | |
287 | end | |
288 | function RefreshWelds() | |
289 | Neck.C0 = NeckC0 | |
290 | Neck.C1 = NeckC1 | |
291 | RightShoulder.C0 = RightShoulderC0 | |
292 | RightShoulder.C1 = RightShoulderC1 | |
293 | LeftShoulder.C0 = LeftShoulderC0 | |
294 | LeftShoulder.C1 = LeftShoulderC1 | |
295 | RightHip.C0 = RightHipC0 | |
296 | RightHip.C1 = RightHipC1 | |
297 | LeftHip.C0 = LeftHipC0 | |
298 | LeftHip.C1 = LeftHipC1 | |
299 | end | |
300 | function Heal() | |
301 | ShockWave = Instance.new("Part") | |
302 | ShockWave.Parent = Torso | |
303 | ShockWave.Anchored = true | |
304 | ShockWave.CanCollide = false | |
305 | ShockWave.Locked = true | |
306 | ShockWave.Transparency = 0 | |
307 | ShockWave.Shape = "Ball" | |
308 | ShockWave.BrickColor = BrickColor.new("Really red") | |
309 | ShockWave.Size = Vector3.new(1, 1, 1) | |
310 | ShockWave.TopSurface = "Smooth" | |
311 | ShockWave.BottomSurface = "Smooth" | |
312 | ShockWave.CFrame = Torso.CFrame | |
313 | ShockWaveMesh = Instance.new("SpecialMesh") | |
314 | ShockWaveMesh.Parent = ShockWave | |
315 | ShockWaveMesh.MeshType = "Sphere" | |
316 | ShockWaveMesh.Scale = Vector3.new(1, 1, 1) | |
317 | game:getService("Debris"):AddItem(ShockWave, 2) | |
318 | for i = 1 , 100 do | |
319 | ShockWave.Size = ShockWave.Size + Vector3.new(1, 1, 1) | |
320 | ShockWave.Transparency = ShockWave.Transparency + 0.02 | |
321 | ShockWave.CFrame = Torso.CFrame | |
322 | for u, c in pairs(workspace:GetChildren()) do | |
323 | h = c:findFirstChild("Humanoid") | |
324 | t = c:findFirstChild("Torso") | |
325 | if h ~= nil and t ~= nil then | |
326 | if (Torso.Position-t.Position).magnitude <= 20 then | |
327 | h.Health = h.Health + 12 | |
328 | end | |
329 | end | |
330 | end | |
331 | wait(0.01) | |
332 | end | |
333 | end | |
334 | function Roar() | |
335 | for i = 1, 4 do | |
336 | MouthMesh.Scale = MouthMesh.Scale + Vector3.new(0,.2,0) | |
337 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
338 | wait(.2) | |
339 | end | |
340 | Sound.SoundId = "http://www.roblox.com/asset/?id=24478553"--24478553,24483366 | |
341 | Sound.Pitch = 1 | |
342 | for i = 1, 50 do | |
343 | Sound:play() | |
344 | Sound:play() | |
345 | Sound:play() | |
346 | Sound:play() | |
347 | Sound:play() | |
348 | Sound:play() | |
349 | Sound:play() | |
350 | Sound:play() | |
351 | for u, c in pairs(workspace:GetChildren()) do | |
352 | if c.Name ~= Names then | |
353 | h = c:findFirstChild("Humanoid") | |
354 | t = c:findFirstChild("Torso") | |
355 | if h ~= nil and t ~= nil then | |
356 | if (Torso.Position-t.Position).magnitude <= 25000 then | |
357 | t.CFrame = t.CFrame * CFrame.Angles(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)) | |
358 | h:TakeDamage(h.Health/1) | |
359 | end | |
360 | end | |
361 | end | |
362 | end | |
363 | wait() | |
364 | end | |
365 | wait(2) | |
366 | for i = 1, 4 do | |
367 | MouthMesh.Scale = MouthMesh.Scale - Vector3.new(0,.2,0) | |
368 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
369 | wait(.2) | |
370 | end | |
371 | end | |
372 | function Rocket() | |
373 | for i = 1, 10 do | |
374 | e1m.Scale = e1m.Scale + Vector3.new(.025,.025,.025) | |
375 | e2m.Scale = e2m.Scale + Vector3.new(.025,.025,.025) | |
376 | wait() | |
377 | end | |
378 | Eye1.BrickColor = BrickColor.new("Black") | |
379 | Eye2.BrickColor = BrickColor.new("Black") | |
380 | RCKT = Eye1:Clone() | |
381 | RCKT.Parent = Character | |
382 | RCKT.Size = Vector3.new(10,2,3) | |
383 | RCKT.Anchored = false | |
384 | RCKT.Position = Head.Position | |
385 | RCKT.CFrame = RCKT.CFrame * CFrame.new(0, -2, 0) | |
386 | RVelocity = Instance.new("BodyVelocity") | |
387 | RVelocity.Parent = RCKT | |
388 | RVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
389 | RVelocity.velocity = RCKT.CFrame.lookVector * 30 | |
390 | game:getService("Debris"):AddItem(RCKT, 5) | |
391 | function damage(hit) | |
392 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
393 | if hum ~= nil then | |
394 | hum.Health = hum.Health - 101 | |
395 | end | |
396 | end | |
397 | RCKT.Touched:connect(damage) | |
398 | wait(1) | |
399 | for i = 1, 10 do | |
400 | e1m.Scale = e1m.Scale - Vector3.new(.025,.025,.025) | |
401 | e2m.Scale = e2m.Scale - Vector3.new(.025,.025,.025) | |
402 | wait() | |
403 | end | |
404 | Eye1.BrickColor = BrickColor.new("Really red") | |
405 | Eye2.BrickColor = BrickColor.new("Really red") | |
406 | end | |
407 | function EyeLaser() | |
408 | Character.Humanoid.WalkSpeed = 0 | |
409 | local bea = Instance.new("Model") | |
410 | bea.Parent = Character | |
411 | for i = 1, 10 do | |
412 | wait() | |
413 | transnumb = 0.09*i | |
414 | pab1 = Eye1:Clone() | |
415 | pab1.Size = Vector3.new(2,2,4) | |
416 | pab1.Parent = bea | |
417 | pab1.Transparency = 0.9-transnumb | |
418 | pab1.Touched:connect( | |
419 | function(h) | |
420 | if h.Name ~= "Base" and h.Parent ~= Character then else return end | |
421 | h.BrickColor = BrickColor.new("Really red") | |
422 | h.Transparency = pab1.Transparency | |
423 | game:getService("Debris"):AddItem(h, 0.6) | |
424 | end) | |
425 | pab1:BreakJoints() | |
426 | pab2 = Eye2:Clone() | |
427 | pab2.Size = Vector3.new(2,2,4) | |
428 | pab2.Parent = bea | |
429 | pab2.Transparency = 0.9-transnumb | |
430 | pab2.Touched:connect( | |
431 | function(h) | |
432 | if h.Name ~= "Base" and h.Parent ~= Character then else return end | |
433 | h.BrickColor = BrickColor.new("Really red") | |
434 | h.Transparency = pab2.Transparency | |
435 | game:getService("Debris"):AddItem(h, 0.6) | |
436 | end) | |
437 | pab2:BreakJoints() | |
438 | weld = Instance.new("Weld") | |
439 | weld.Parent = bea | |
440 | weld.Part0 = Eye1 | |
441 | weld.Part1 = pab1 | |
442 | weld.C0 = CFrame.new(0,0,-1*i) | |
443 | weld = Instance.new("Weld") | |
444 | weld.Parent = bea | |
445 | weld.Part0 = Eye2 | |
446 | weld.Part1 = pab2 | |
447 | weld.C0 = CFrame.new(0,0,-1*i) | |
448 | end | |
449 | for i = 1, 50 do | |
450 | wait() | |
451 | lol = bea:GetChildren() | |
452 | for i = 1, #lol do | |
453 | if lol[i].className == "Weld" then | |
454 | lol[i].C0 = lol[i].C0 * CFrame.new(0,0,-1) | |
455 | end | |
456 | end | |
457 | end | |
458 | game:getService("Debris"):AddItem(bea, 0.01) | |
459 | Character.Humanoid.WalkSpeed = 16 | |
460 | end | |
461 | function Suicide() | |
462 | ef2 = Instance.new("BodyVelocity") | |
463 | ef2.Parent = Torso | |
464 | ef2.maxForce = Vector3.new(0,math.huge,0) | |
465 | ef2.velocity = Vector3.new(0, 50, 0) | |
466 | Character.Humanoid.PlatformStand = true | |
467 | fu = Instance.new("Fire") | |
468 | fu.Parent = Torso | |
469 | fu.Size = 10 | |
470 | fu.Heat = -15 | |
471 | wait(1) | |
472 | Sound.SoundId = "http://www.roblox.com/asset/?id=2101148" | |
473 | Sound.Pitch = 1 | |
474 | for i = 1, 3 do | |
475 | e = Instance.new("Explosion") | |
476 | e.Parent = Workspace | |
477 | e.Position = Torso.Position | |
478 | e.BlastRadius = 30 | |
479 | e.BlastPressure = 10000 | |
480 | Sound:play() | |
481 | wait(.2) | |
482 | e = Instance.new("Explosion") | |
483 | e.Parent = Workspace | |
484 | e.Position = Head.Position | |
485 | e.BlastRadius = 30 | |
486 | e.BlastPressure = 1000 | |
487 | Sound:play() | |
488 | wait(.2) | |
489 | e = Instance.new("Explosion") | |
490 | e.Parent = Workspace | |
491 | e.Position = RightArm.Position | |
492 | e.BlastRadius = 30 | |
493 | e.BlastPressure = 1000 | |
494 | Sound:play() | |
495 | wait(.2) | |
496 | e = Instance.new("Explosion") | |
497 | e.Parent = Workspace | |
498 | e.Position = LeftArm.Position | |
499 | e.BlastRadius = 30 | |
500 | e.BlastPressure = 1000 | |
501 | Sound:play() | |
502 | wait(.2) | |
503 | e = Instance.new("Explosion") | |
504 | e.Parent = Workspace | |
505 | e.Position = LeftLeg.Position | |
506 | e.BlastRadius = 30 | |
507 | e.BlastPressure = 1000 | |
508 | Sound:play() | |
509 | wait(.2) | |
510 | e = Instance.new("Explosion") | |
511 | e.Parent = Workspace | |
512 | e.Position = RightLeg.Position | |
513 | e.BlastRadius = 1000 | |
514 | e.BlastPressure = 1000 | |
515 | Sound:play() | |
516 | wait(.2) | |
517 | end | |
518 | end | |
519 | function Jump() | |
520 | Character.Humanoid.PlatformStand = true | |
521 | Torso.Velocity = Torso.CFrame.lookVector * 150 + Vector3.new(0, 130, 0) | |
522 | for i = 1 , 20 do | |
523 | Torso.CFrame = Torso.CFrame * CFrame.Angles(-0.5, 0, 0) | |
524 | wait() | |
525 | end | |
526 | Character.Humanoid.PlatformStand = false | |
527 | Gyro = Instance.new("BodyGyro") | |
528 | Gyro.Parent = Torso | |
529 | Gyro.cframe = CFrame.new(0, 0, 0) * CFrame.aAngles(0, 0, 0) | |
530 | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
531 | wait(0.1) | |
532 | Gyro:Remove() | |
533 | end | |
534 | function Shield() | |
535 | Character.Humanoid.PlatformStand = true | |
536 | s = Instance.new("Part") | |
537 | s.Parent = Character | |
538 | s.Size = Vector3.new(8,8,8) | |
539 | s.Shape = "Ball" | |
540 | s.TopSurface = "Smooth" | |
541 | s.BottomSurface = "Smooth" | |
542 | s.Transparency = .5 | |
543 | s.Position = Torso.Position | |
544 | s.BrickColor = BrickColor.new("Royal purple") | |
545 | sweld = Instance.new("Weld") | |
546 | sweld.Parent = Torso | |
547 | sweld.Part0 = Torso | |
548 | sweld.Part1 = s | |
549 | sweld.C0 = CFrame.new(0,0,0) | |
550 | game:getService("Debris"):AddItem(s, 13) | |
551 | wait(10) | |
552 | for i = 1, 10 do | |
553 | wait() | |
554 | s.Transparency = s.Transparency + .05 | |
555 | end | |
556 | Character.Humanoid.PlatformStand = false | |
557 | s:remove() | |
558 | end | |
559 | function GroundPound() | |
560 | ef2 = Instance.new("BodyVelocity") | |
561 | ef2.Parent = Torso | |
562 | ef2.maxForce = Vector3.new(0,math.huge,0) | |
563 | ef2.velocity = Vector3.new(0, 100, 0) | |
564 | --Character.Humanoid.PlatformStand = true | |
565 | wait(3) | |
566 | Torso.CFrame = Torso.CFrame*CFrame.Angles(3.14,0,0) | |
567 | ef2.velocity = Vector3.new(0, -100, 0) | |
568 | wait(1) | |
569 | ef2.velocity = Vector3.new(0, -150, 0) | |
570 | fu = Instance.new("Fire") | |
571 | fu.Parent = Torso | |
572 | fu.Size = 10 | |
573 | fu.Heat = 15 | |
574 | wait(1.3) | |
575 | Range = 10000 | |
576 | for i = 1 , 5 do | |
577 | Range = Range + 15 | |
578 | Character.Humanoid.WalkSpeed = 0 | |
579 | Boom = Instance.new("Explosion") | |
580 | Boom.Parent = Workspace | |
581 | Boom.BlastRadius = Range/2 | |
582 | Boom.Position = Torso.Position+Vector3.new(Range, 0, 0) | |
583 | Boom = Instance.new("Explosion") | |
584 | Boom.Parent = Workspace | |
585 | Boom.BlastRadius = Range/2 | |
586 | Boom.Position = Torso.Position+Vector3.new(-Range, 0, 0) | |
587 | Boom = Instance.new("Explosion") | |
588 | Boom.Parent = Workspace | |
589 | Boom.BlastRadius = Range/2 | |
590 | Boom.Position = Torso.Position+Vector3.new(0, 0, Range) | |
591 | Boom = Instance.new("Explosion") | |
592 | Boom.Parent = Workspace | |
593 | Boom.BlastRadius = Range/2 | |
594 | Boom.Position = Torso.Position+Vector3.new(0, 0, -Range) | |
595 | Boom = Instance.new("Explosion") | |
596 | Boom.Parent = Workspace | |
597 | Boom.BlastRadius = Range/2 | |
598 | Boom.Position = Torso.Position+Vector3.new(Range, 0, Range) | |
599 | Boom = Instance.new("Explosion") | |
600 | Boom.Parent = Workspace | |
601 | Boom.BlastRadius = Range/2 | |
602 | Boom.Position = Torso.Position+Vector3.new(-Range, 0, Range) | |
603 | Boom = Instance.new("Explosion") | |
604 | Boom.Parent = Workspace | |
605 | Boom.BlastRadius = Range/2 | |
606 | Boom.Position = Torso.Position+Vector3.new(Range, 0, -Range) | |
607 | Boom = Instance.new("Explosion") | |
608 | Boom.Parent = Workspace | |
609 | Boom.BlastRadius = Range/2 | |
610 | Boom.Position = Torso.Position+Vector3.new(-Range, 0, -Range) | |
611 | wait(0.05) | |
612 | end | |
613 | ef2:remove() | |
614 | fu:remove() | |
615 | Character.Humanoid.PlatformStand = false | |
616 | end | |
617 | function Eyez() | |
618 | for i = 1, 5 do | |
619 | e1m.Scale = e1m.Scale + Vector3.new(0,0,.1) | |
620 | e2m.Scale = e2m.Scale + Vector3.new(0,0,.1) | |
621 | wait() | |
622 | end | |
623 | wait() | |
624 | for i = 1, 5 do | |
625 | e1m.Scale = e1m.Scale - Vector3.new(0,0,.1) | |
626 | e2m.Scale = e2m.Scale - Vector3.new(0,0,.1) | |
627 | wait() | |
628 | end | |
629 | end | |
630 | function FootBlox() | |
631 | for u, c in pairs(workspace:GetChildren()) do | |
632 | h = c:findFirstChild("Humanoid") | |
633 | t = c:findFirstChild("Torso") | |
634 | if h ~= nil and t ~= nil and c.Name ~= Character.Name then | |
635 | if h.Health > 0 then | |
636 | if (Torso.Position-t.Position).magnitude <= 25000 then | |
637 | Gyro = Instance.new("BodyGyro") | |
638 | Gyro.Parent = Torso | |
639 | Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge) | |
640 | Gyro.cframe = Torso.CFrame | |
641 | PwnWelds() | |
642 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.4) | |
643 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.4) | |
644 | wait(0.1) | |
645 | t.CFrame = Torso.CFrame | |
646 | h.PlatformStand = true | |
647 | ww = Instance.new("Weld") | |
648 | ww.Part0 =Torso | |
649 | ww.Part1 = t | |
650 | ww.Parent = Torso | |
651 | ww.C0 = CFrame.new(0, 0, -2) | |
652 | h:TakeDamage(2) | |
653 | wait(1) | |
654 | PwnWelds() | |
655 | h:TakeDamage(5) | |
656 | wait(0.05) | |
657 | LA = c["Left Arm"] | |
658 | LL = c["Left Leg"] | |
659 | RA = c["Right Arm"] | |
660 | RL = c["Right Leg"] | |
661 | w = Instance.new("Weld") | |
662 | w.Part0 = c["Right Leg"] | |
663 | w.Part1 = t | |
664 | w.Parent = c["Right Leg"] | |
665 | w.C0 = CFrame.new(.5, 0, .5) | |
666 | w = Instance.new("Weld") | |
667 | w.Part0 = c["Left Leg"] | |
668 | w.Part1 = t | |
669 | w.Parent = c["Left Leg"] | |
670 | w.C0 = CFrame.new(-.5, 0, .5) | |
671 | w = Instance.new("Weld") | |
672 | w.Part0 = c["Left Arm"] | |
673 | w.Part1 = t | |
674 | w.Parent = c["Left Arm"] | |
675 | w.C0 = CFrame.new(-.5, 0, -.5) | |
676 | w = Instance.new("Weld") | |
677 | w.Part0 = c["Right Arm"] | |
678 | w.Part1 = t | |
679 | w.Parent = c["Right Arm"] | |
680 | w.C0 = CFrame.new(.5, 0, -.5) | |
681 | w = Instance.new("Weld") | |
682 | w.Part0 = c.Head | |
683 | w.Part1 = t | |
684 | w.Parent = c.Head | |
685 | w.C0 = CFrame.new(0, -1, 0) | |
686 | wait(0.2) | |
687 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.3) | |
688 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.3) | |
689 | wait(0.15) | |
690 | PwnWelds() | |
691 | h:TakeDamage(5) | |
692 | wait(0.1) | |
693 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.4) | |
694 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.4) | |
695 | wait(1.5) | |
696 | for i = 1 , 6 do | |
697 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i) | |
698 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i) | |
699 | RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.31*i) | |
700 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.035*i) | |
701 | wait() | |
702 | end | |
703 | h:TakeDamage(20) | |
704 | ww:Remove() | |
705 | t.Velocity = Torso.CFrame.lookVector * 500 + Vector3.new(0, 50, 0) | |
706 | wait(0.3) | |
707 | for i = 1 , 6 do | |
708 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0, 0, 0.15) | |
709 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.15) | |
710 | RightHip.C0 = RightHip.C0 * CFrame.Angles(0, 0, -0.31) | |
711 | LeftHip.C0 = LeftHip.C0 * CFrame.Angles(0, 0, -0.035) | |
712 | wait() | |
713 | end | |
714 | Gyro:Remove() | |
715 | RefreshWelds() | |
716 | end | |
717 | end | |
718 | end | |
719 | end | |
720 | end | |
721 | function HeadAche() | |
722 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 3.14) | |
723 | wait(0.4) | |
724 | Character.Head.Mesh.Scale = Vector3.new(0,0,0) | |
725 | Character.Head.Transparency = 1 | |
726 | Mouth.Transparency = 1 | |
727 | Eye1.Transparency = 1 | |
728 | Eye2.Transparency = 1 | |
729 | Mod = Instance.new("Model",workspace) | |
730 | Mod.Name = Names | |
731 | HeadPart = Instance.new("Part") | |
732 | HeadPart.Parent = Mod | |
733 | HeadPart.CanCollide = false | |
734 | HeadPart.Size = Vector3.new(1,1,1) | |
735 | HeadPart.BrickColor = Character.Head.BrickColor | |
736 | HeadPart.Reflectance = Character.Head.Reflectance | |
737 | HeadPart.formFactor = "Symmetric" | |
738 | HeadPart.Position = RightArm.Position | |
739 | HeadPart.Name = "Head" | |
740 | Human = Instance.new("Humanoid") | |
741 | Human.Parent = Mod | |
742 | Human.Health = 0 | |
743 | HPMesh = Instance.new("SpecialMesh") | |
744 | HPMesh.MeshType = "Head" | |
745 | HPMesh.Parent = HeadPart | |
746 | HPMesh.Scale = Vector3.new(1.25,1.25,1.25) | |
747 | w = Instance.new("Weld") | |
748 | w.Parent = RightArm | |
749 | w.Part0 = RightArm | |
750 | w.Part1 = HeadPart | |
751 | w.C0 = CFrame.new(0, -1.3, 0) | |
752 | wait(0.7) | |
753 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -2) | |
754 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1) | |
755 | wait(0.5) | |
756 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.6) | |
757 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 1.2) | |
758 | wait() | |
759 | w:Remove() | |
760 | function damage(hit) | |
761 | hum = hit.Parent:FindFirstChild("Humanoid") | |
762 | if hit.Parent ~= Character then | |
763 | if hum ~= nil then | |
764 | Velocity:Remove() | |
765 | Gyro:Remove() | |
766 | hum.PlatformStand = true | |
767 | hum.Health = hum.Health - 6 | |
768 | hum.Parent.Torso.CFrame = hum.Parent.Torso.CFrame * CFrame.Angles(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) | |
769 | HeadPart.Size = Vector3.new(1,1,1) | |
770 | HPMesh.Scale = Vector3.new(1.25,1.25,1.25) | |
771 | HeadPart.CanCollide = true | |
772 | end | |
773 | end | |
774 | end | |
775 | HeadPart.Touched:connect(damage) | |
776 | Gyro = Instance.new("BodyGyro") | |
777 | Gyro.Parent = HeadPart | |
778 | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
779 | Gyro.cframe = Character.Torso.CFrame * CFrame.Angles(0, 0, 1.57) | |
780 | Gyro.D = 50 | |
781 | Velocity = Instance.new("BodyVelocity") | |
782 | Velocity.Parent = HeadPart | |
783 | Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
784 | Velocity.velocity = Character.Torso.CFrame.lookVector * 75 | |
785 | -- Torso.CFrame = Torso.CFrame * CFrame.Angles(2, 0, 0) | |
786 | wait(0.5) | |
787 | HeadPart.Size = Vector3.new(4,4,4) | |
788 | HPMesh.Scale = Vector3.new(.3125,.3125,.3125) | |
789 | -- Character.Humanoid.PlatformStand = true | |
790 | RefreshWelds() | |
791 | wait(.25) | |
792 | HeadPart.CanCollide = true | |
793 | for i = 1 , 10 do | |
794 | Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 1, 1) | |
795 | wait(0.0625) | |
796 | end | |
797 | wait(.5) | |
798 | if Velocity ~= nil then | |
799 | Velocity:Remove() | |
800 | end | |
801 | wait(0.1) | |
802 | Character.Head.Mesh.Scale = Vector3.new(0,0,0) | |
803 | HPMesh.Scale = Vector3.new(1.25,1.25,1.25) | |
804 | HeadPart.Size = Vector3.new(1,1,1) | |
805 | HeadPart.CanCollide = true | |
806 | if Gyro ~= nil then | |
807 | Gyro:Remove() | |
808 | end | |
809 | wait(1) | |
810 | Mod:remove() | |
811 | Character.Head.Transparency = 0 | |
812 | Character.Head.Mesh.Scale = Vector3.new(0,0,0) | |
813 | for i = 1, 10 do | |
814 | Character.Head.Mesh.Scale = Character.Head.Mesh.Scale + Vector3.new(.125,.125,.125) | |
815 | wait(.05) | |
816 | end | |
817 | Mouth.Transparency = 0 | |
818 | Eye1.Transparency = 0 | |
819 | Eye2.Transparency = 0 | |
820 | wait(0.1) | |
821 | --Character.Humanoid.PlatformStand = false | |
822 | end | |
823 | function PrimaryLotus() | |
824 | Gyro = Instance.new("BodyGyro") | |
825 | Gyro.Parent = Torso | |
826 | Gyro.maxTorque = Vector3.new(0, 0, 0) | |
827 | Gyro.cframe = Torso.CFrame | |
828 | for i = 1 , 6 do | |
829 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, -0.15*i) | |
830 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, 0.15*i) | |
831 | RightHip.C0 = RightHipC0 * CFrame.Angles(0, 0, 0.31*i) | |
832 | LeftHip.C0 = LeftHipC0 * CFrame.Angles(0, 0, 0.035*i) | |
833 | wait() | |
834 | end | |
835 | for i, v in pairs(workspace:GetChildren()) do | |
836 | eTorso = v:findFirstChild("Torso") | |
837 | eHumanoid = v:findFirstChild("Humanoid") | |
838 | if eTorso ~= nil and eHumanoid ~= nil and v.Name ~= Character.Name then | |
839 | if (Torso.Position-eTorso.Position).magnitude <= 6 then | |
840 | RefreshWelds() | |
841 | eHumanoid.PlatformStand = true | |
842 | Humanoid.PlatformStand = true | |
843 | Torso.CFrame = eTorso.CFrame * CFrame.new(0, 5, -1.5) | |
844 | TorsoWeld = Instance.new("Weld") | |
845 | TorsoWeld.Parent = Torso | |
846 | TorsoWeld.Part0 = Torso | |
847 | TorsoWeld.Part1 = eTorso | |
848 | TorsoWeld.C0 = CFrame.new(0, 0, -1.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
849 | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
850 | Gyro.cframe = CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
851 | RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0, 0, 1.5) | |
852 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0, 0, -1.5) | |
853 | handle21 = Instance.new("Part") | |
854 | handle21.Parent = Character | |
855 | handle21.TopSurface = "Smooth" | |
856 | handle21.BottomSurface = "Smooth" | |
857 | handle21.Size = Vector3.new(1, 1, 1) | |
858 | handle21.CFrame = Torso.CFrame | |
859 | weld2 = Instance.new("Weld") | |
860 | weld2.Part0 = eTorso | |
861 | weld2.Part1 = handle21 | |
862 | weld2.Parent = eTorso | |
863 | weld2.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(3.14, 0, 0) | |
864 | p2 = Instance.new("SpecialMesh") | |
865 | p2.Parent = handle21 | |
866 | p2.Scale = Vector3.new(0, 0, 0) | |
867 | p2.MeshType = "Sphere" | |
868 | for i = 1 , 10 do | |
869 | Torso.Velocity = Vector3.new(0, 800, 0) | |
870 | if i >= 5 then | |
871 | p2.Scale = p2.Scale + Vector3.new(0.62, 1.5, 0.62) | |
872 | end | |
873 | wait(0.001) | |
874 | end | |
875 | wait(0.3) | |
876 | Torso.Velocity = Vector3.new(0, -400, 0) | |
877 | Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 0, -3.14) | |
878 | wait(0.3) | |
879 | handle2 = Instance.new("Part") | |
880 | handle2.Parent = Character | |
881 | handle2.TopSurface = "Smooth" | |
882 | handle2.BottomSurface = "Smooth" | |
883 | handle2.Size = Vector3.new(1, 1, 1) | |
884 | handle2.CFrame = Torso.CFrame | |
885 | weld = Instance.new("Weld") | |
886 | weld.Part0 = eTorso | |
887 | weld.Part1 = handle2 | |
888 | weld.Parent = eTorso | |
889 | weld.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(3.14, 0, 0) | |
890 | p = Instance.new("SpecialMesh") | |
891 | p.Parent = handle2 | |
892 | p.Scale = Vector3.new(5, 15, 5) | |
893 | p.MeshType = "FileMesh" | |
894 | p.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
895 | Torso.CFrame = Torso.CFrame*CFrame.Angles(3.14,0,0) | |
896 | wait(.7) | |
897 | handle2:Remove() | |
898 | handle21:Remove() | |
899 | TorsoWeld:Remove() | |
900 | ex = Instance.new("Explosion") | |
901 | ex.Parent = Workspace | |
902 | ex.BlastPressure = 0 | |
903 | ex.Position = Torso.Position | |
904 | eHumanoid:TakeDamage(math.huge) | |
905 | eHumanoid.PlatformStand = false | |
906 | eHumanoid.Sit = true | |
907 | for i = 1 , 15 do | |
908 | p = Instance.new("Part") | |
909 | p.Parent = Workspace | |
910 | p.Name = "Rocks" | |
911 | p.BrickColor = BrickColor.new("Brown") | |
912 | p.CanCollide = true | |
913 | p.TopSurface = "Smooth" | |
914 | p.Material = "Concrete" | |
915 | p.BottomSurface = "Smooth" | |
916 | p.Size = Vector3.new(math.random(3, 5), math.random(3, 5), math.random(3, 5)) | |
917 | p.CFrame = Torso.CFrame * CFrame.new(Vector3.new(math.random(-6, 6), -10, math.random(-6, 6))) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) | |
918 | p.Velocity = p.CFrame.lookVector * 150 + Vector3.new(0, 10, 0) | |
919 | game:getService("Debris"):AddItem(p, 5) | |
920 | wait() | |
921 | end | |
922 | RefreshWelds() | |
923 | Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
924 | Gyro.cframe = CFrame.Angles(0, 0, 0) | |
925 | Humanoid.Jump = true | |
926 | Torso.CFrame = CFrame.new(Torso.Position + Vector3.new(0, 5, 10)) | |
927 | wait(.5) | |
928 | Torso.Velocity = Vector3.new(0,0,0) | |
929 | eTorso.Velocity = Vector3.new(0,0,0) | |
930 | end | |
931 | end | |
932 | end | |
933 | wait(0.05) | |
934 | Gyro:Remove() | |
935 | Torso.Velocity = Vector3.new(0,0,0) | |
936 | RefreshWelds() | |
937 | end | |
938 | function Free() | |
939 | Stuff = Character:GetChildren() | |
940 | for i = 1 , #Stuff do | |
941 | if Stuff[i].className == "Part" then | |
942 | Stuff[i].Anchored = false | |
943 | end | |
944 | end | |
945 | Stuff = Character:GetChildren() | |
946 | for i = 1 , #Stuff do | |
947 | if Stuff[i].className == "Part" then | |
948 | Stuff[i].Anchored = false | |
949 | end | |
950 | Stuff2 = Stuff[i]:GetChildren() | |
951 | for i = 1 , #Stuff2 do | |
952 | if Stuff2[i].className == "BodyPosition" or Stuff2[i].className == "BodyVelocity" or Stuff2[i].className == "BodyGyro" then | |
953 | Stuff2[i]:Remove() | |
954 | end | |
955 | end | |
956 | end | |
957 | Character.Torso.CFrame = Character.Torso.CFrame + Vector3.new(0,30,0) | |
958 | Character.Torso.Anchored = true | |
959 | wait(.5) | |
960 | Character.Torso.Anchored = false | |
961 | end | |
962 | Shieldz = false | |
963 | function ShieldOn() | |
964 | Johnny = Instance.new("BodyGyro") | |
965 | Johnny.Name = "JooDaddeh" | |
966 | Johnny.Parent = Torso | |
967 | Johnny.cframe = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) | |
968 | Johnny.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
969 | Billy = Instance.new("BodyPosition") | |
970 | Billy.Name = "JoeMama" | |
971 | Billy.Parent = Head | |
972 | Billy.position = Head.Position | |
973 | Billy.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
974 | wait() | |
975 | for i = 1, 5 do | |
976 | wait() | |
977 | Billy.position = Billy.position + Vector3.new(0,1,0) | |
978 | end | |
979 | wait(0.5) | |
980 | for i = 1, 11 do | |
981 | Head.Mesh.Scale = Head.Mesh.Scale + Vector3.new(1,1,1) | |
982 | wait(0.01) | |
983 | end | |
984 | Shieldz = true | |
985 | while Shieldz do | |
986 | wait() | |
987 | for i,v in pairs (workspace:GetChildren()) do | |
988 | if v.className == "Part" and v.Name ~= "Base" then | |
989 | if (Torso.Position-v.Position).magnitude <= 11 then | |
990 | v:Remove() | |
991 | end | |
992 | end | |
993 | if v.className == "Model" then | |
994 | for u, c in pairs (v:GetChildren()) do | |
995 | if c.className == "Part" and v.Name ~= Character.Name then | |
996 | if (Torso.Position-c.Position).magnitude <= 11 then | |
997 | c:Remove() | |
998 | end | |
999 | end | |
1000 | end | |
1001 | if v.Name ~= Character.Name then | |
1002 | BobHumanoid = v:findFirstChild("Humanoid") | |
1003 | BobHead = v:findFirstChild("Head") | |
1004 | if BobHead ~= nil and BobHumanoid ~= nil then | |
1005 | if (Torso.Position-BobHead.Position).magnitude <= 11 then | |
1006 | for i = 1, 22 do | |
1007 | wait() | |
1008 | if i > 12 then | |
1009 | BobHead.Mesh.Scale = BobHead.Mesh.Scale + Vector3.new(1, 1, 1) | |
1010 | else | |
1011 | if v:findFirstChild("Left Arm") ~= nil then | |
1012 | v:findFirstChild("Left Arm"):Remove() | |
1013 | end | |
1014 | if v:findFirstChild("Left Leg") ~= nil then | |
1015 | v:findFirstChild("Left Leg"):Remove() | |
1016 | end | |
1017 | if v:findFirstChild("Right Arm") ~= nil then | |
1018 | v:findFirstChild("Right Arm"):Remove() | |
1019 | end | |
1020 | if v:findFirstChild("Right Leg") ~= nil then | |
1021 | v:findFirstChild("Right Leg"):Remove() | |
1022 | end | |
1023 | if v:findFirstChild("Torso") ~= nil then | |
1024 | v:findFirstChild("Torso"):Remove() | |
1025 | end | |
1026 | BobHead.Mesh.Scale = BobHead.Mesh.Scale + Vector3.new(-1, -1, -1) | |
1027 | end | |
1028 | end | |
1029 | v:Remove() | |
1030 | end | |
1031 | end | |
1032 | end | |
1033 | end | |
1034 | end | |
1035 | end | |
1036 | wait() | |
1037 | end | |
1038 | function ShieldOff() | |
1039 | Shieldz = false | |
1040 | for i = 1, 11 do | |
1041 | Head.Mesh.Scale = Head.Mesh.Scale + Vector3.new(-1,-1,-1) | |
1042 | wait(0.01) | |
1043 | end | |
1044 | for i = 1, 5 do | |
1045 | pcall(function() Head.JoeMama.position = Head.JoeMama.position + Vector3.new(0,-1,0) end) | |
1046 | wait(0.01) | |
1047 | end | |
1048 | pcall(function() Head.JoeMama:Remove() end) | |
1049 | pcall(function() Torso.JooDaddeh:Remove() end) | |
1050 | end | |
1051 | function Page(Num,gm) | |
1052 | if Num == 1 then | |
1053 | for _,v in pairs (gm:GetChildren()) do | |
1054 | if v.Name == "Pg2" then | |
1055 | v:Remove() | |
1056 | else | |
1057 | v.Visible = true | |
1058 | end | |
1059 | end | |
1060 | elseif Num == 2 then | |
1061 | for _,v in pairs (gm:GetChildren()) do | |
1062 | if v.Name ~= "Pg2" then | |
1063 | if v.className == "TextButton" then | |
1064 | v.Visible = false | |
1065 | end | |
1066 | end | |
1067 | end | |
1068 | tb = Instance.new("TextButton") | |
1069 | tb.Parent = gm | |
1070 | tb.Size = UDim2.new(0,70,0,30) | |
1071 | tb.Position = UDim2.new(0,800,0,40) | |
1072 | tb.Text = "New Attack" | |
1073 | tb.BackgroundTransparency = .5 | |
1074 | tb.TextTransparency = .1 | |
1075 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1076 | tb.BorderColor3 = Color3.new(50,255,255) | |
1077 | tb.Name = "Pg2" | |
1078 | end | |
1079 | end | |
1080 | gm = Instance.new("GuiMain") | |
1081 | gm.Parent = Player.PlayerGui | |
1082 | gm.Name = "GUI-Main" | |
1083 | Frame = Instance.new("Frame",gm) | |
1084 | Frame.Size = UDim2.new(0,310,0,300) | |
1085 | Frame.Position = UDim2.new(0,780,0,20) | |
1086 | Frame.BackgroundTransparency = .5 | |
1087 | Frame.BackgroundColor3 = Color3.new(50,50,50) | |
1088 | Frame.BorderColor3 = Color3.new(0,0,0) | |
1089 | Prev = Instance.new("TextButton",Frame) | |
1090 | Prev.Position = UDim2.new(0,0,0,285) | |
1091 | Prev.Size = UDim2.new(0,70,0,15) | |
1092 | Prev.Text = "Page 1" | |
1093 | Prev.BackgroundTransparency = .5 | |
1094 | Prev.TextTransparency = .1 | |
1095 | Prev.BackgroundColor3 = Color3.new(100,255,255) | |
1096 | Prev.BorderColor3 = Color3.new(50,255,255) | |
1097 | function onClick() | |
1098 | Page(1,gm) | |
1099 | end | |
1100 | Prev.MouseButton1Click:connect(onClick) | |
1101 | Next = Instance.new("TextButton",Frame) | |
1102 | Next.Position = UDim2.new(0,240,0,285) | |
1103 | Next.Size = UDim2.new(0,70,0,15) | |
1104 | Next.Text = "Page 2" | |
1105 | Next.BackgroundTransparency = .5 | |
1106 | Next.TextTransparency = .1 | |
1107 | Next.BackgroundColor3 = Color3.new(100,255,255) | |
1108 | Next.BorderColor3 = Color3.new(50,255,255) | |
1109 | function onClick() | |
1110 | Page(2,gm) | |
1111 | end | |
1112 | Next.MouseButton1Click:connect(onClick) | |
1113 | tb = Instance.new("TextButton") | |
1114 | tb.Parent = gm | |
1115 | tb.Size = UDim2.new(0,70,0,30) | |
1116 | tb.Position = UDim2.new(0,800,0,80) | |
1117 | tb.Text = "EyeLaser" | |
1118 | tb.BackgroundTransparency = .5 | |
1119 | tb.TextTransparency = .1 | |
1120 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1121 | tb.BorderColor3 = Color3.new(50,255,255) | |
1122 | function onClick() | |
1123 | EyeLaser() | |
1124 | end | |
1125 | tb.MouseButton1Click:connect(onClick) | |
1126 | tb = Instance.new("TextButton") | |
1127 | tb.Parent = gm | |
1128 | tb.Size = UDim2.new(0,70,0,30) | |
1129 | tb.Position = UDim2.new(0,900,0,80) | |
1130 | tb.Text = "Roar" | |
1131 | tb.BackgroundTransparency = .5 | |
1132 | tb.TextTransparency = .1 | |
1133 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1134 | tb.BorderColor3 = Color3.new(50,255,255) | |
1135 | function onClick() | |
1136 | Roar() | |
1137 | end | |
1138 | tb.MouseButton1Click:connect(onClick) | |
1139 | tb = Instance.new("TextButton") | |
1140 | tb.Parent = gm | |
1141 | tb.Size = UDim2.new(0,70,0,30) | |
1142 | tb.Position = UDim2.new(0,1000,0,80) | |
1143 | tb.Text = "Heal" | |
1144 | tb.BackgroundTransparency = .5 | |
1145 | tb.TextTransparency = .1 | |
1146 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1147 | tb.BorderColor3 = Color3.new(50,255,255) | |
1148 | function onClick() | |
1149 | Heal() | |
1150 | end | |
1151 | tb.MouseButton1Click:connect(onClick) | |
1152 | tb = Instance.new("TextButton") | |
1153 | tb.Parent = gm | |
1154 | tb.Size = UDim2.new(0,70,0,30) | |
1155 | tb.Position = UDim2.new(0,800,0,120) | |
1156 | tb.Text = "Suicide" | |
1157 | tb.BackgroundTransparency = .5 | |
1158 | tb.TextTransparency = .1 | |
1159 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1160 | tb.BorderColor3 = Color3.new(50,255,255) | |
1161 | function onClick() | |
1162 | Suicide() | |
1163 | end | |
1164 | tb.MouseButton1Click:connect(onClick) | |
1165 | tb = Instance.new("TextButton") | |
1166 | tb.Parent = gm | |
1167 | tb.Size = UDim2.new(0,70,0,30) | |
1168 | tb.Position = UDim2.new(0,900,0,120) | |
1169 | tb.Text = "Rocket" | |
1170 | tb.BackgroundTransparency = .5 | |
1171 | tb.TextTransparency = .1 | |
1172 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1173 | tb.BorderColor3 = Color3.new(50,255,255) | |
1174 | function onClick() | |
1175 | Rocket() | |
1176 | end | |
1177 | tb.MouseButton1Click:connect(onClick) | |
1178 | tb = Instance.new("TextButton") | |
1179 | tb.Parent = gm | |
1180 | tb.Size = UDim2.new(0,70,0,30) | |
1181 | tb.Position = UDim2.new(0,1000,0,120) | |
1182 | tb.Text = "Jump" | |
1183 | tb.BackgroundTransparency = .5 | |
1184 | tb.TextTransparency = .1 | |
1185 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1186 | tb.BorderColor3 = Color3.new(50,255,255) | |
1187 | function onClick() | |
1188 | Jump() | |
1189 | end | |
1190 | tb.MouseButton1Click:connect(onClick) | |
1191 | tb = Instance.new("TextButton") | |
1192 | tb.Parent = gm | |
1193 | tb.Size = UDim2.new(0,70,0,30) | |
1194 | tb.Position = UDim2.new(0,800,0,160) | |
1195 | tb.Text = "Bubble" | |
1196 | tb.BackgroundTransparency = .5 | |
1197 | tb.TextTransparency = .1 | |
1198 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1199 | tb.BorderColor3 = Color3.new(50,255,255) | |
1200 | function onClick() | |
1201 | Shield() | |
1202 | end | |
1203 | tb.MouseButton1Click:connect(onClick) | |
1204 | tb = Instance.new("TextButton") | |
1205 | tb.Parent = gm | |
1206 | tb.Size = UDim2.new(0,70,0,30) | |
1207 | tb.Position = UDim2.new(0,900,0,160) | |
1208 | tb.Text = "Ground-Pound" | |
1209 | tb.BackgroundTransparency = .5 | |
1210 | tb.TextTransparency = .1 | |
1211 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1212 | tb.BorderColor3 = Color3.new(50,255,255) | |
1213 | function onClick() | |
1214 | GroundPound() | |
1215 | end | |
1216 | tb.MouseButton1Click:connect(onClick) | |
1217 | tb = Instance.new("TextButton") | |
1218 | tb.Parent = gm | |
1219 | tb.Size = UDim2.new(0,70,0,30) | |
1220 | tb.Position = UDim2.new(0,1000,0,160) | |
1221 | tb.Text = "Eyez" | |
1222 | tb.BackgroundTransparency = .5 | |
1223 | tb.TextTransparency = .1 | |
1224 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1225 | tb.BorderColor3 = Color3.new(50,255,255) | |
1226 | function onClick() | |
1227 | Eyez() | |
1228 | end | |
1229 | tb.MouseButton1Click:connect(onClick) | |
1230 | tb = Instance.new("TextButton") | |
1231 | tb.Parent = gm | |
1232 | tb.Size = UDim2.new(0,70,0,30) | |
1233 | tb.Position = UDim2.new(0,800,0,200) | |
1234 | tb.Text = "FootBlox" | |
1235 | tb.BackgroundTransparency = .5 | |
1236 | tb.TextTransparency = .1 | |
1237 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1238 | tb.BorderColor3 = Color3.new(50,255,255) | |
1239 | function onClick() | |
1240 | FootBlox() | |
1241 | end | |
1242 | tb.MouseButton1Click:connect(onClick) | |
1243 | tb = Instance.new("TextButton") | |
1244 | tb.Parent = gm | |
1245 | tb.Size = UDim2.new(0,70,0,30) | |
1246 | tb.Position = UDim2.new(0,900,0,200) | |
1247 | tb.Text = "Primary Lotus" | |
1248 | tb.BackgroundTransparency = .5 | |
1249 | tb.TextTransparency = .1 | |
1250 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1251 | tb.BorderColor3 = Color3.new(50,255,255) | |
1252 | function onClick() | |
1253 | PrimaryLotus() | |
1254 | end | |
1255 | tb.MouseButton1Click:connect(onClick) | |
1256 | tb = Instance.new("TextButton") | |
1257 | tb.Parent = gm | |
1258 | tb.Size = UDim2.new(0,70,0,30) | |
1259 | tb.Position = UDim2.new(0,800,0,40) | |
1260 | tb.Text = "Red" | |
1261 | tb.BackgroundTransparency = .5 | |
1262 | tb.TextTransparency = .1 | |
1263 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1264 | tb.BorderColor3 = Color3.new(50,255,255) | |
1265 | function onClick() | |
1266 | Mouth.BrickColor = BrickColor.new("Black") | |
1267 | Eye1.BrickColor = BrickColor.new("Black") | |
1268 | Eye2.BrickColor = BrickColor.new("Black") | |
1269 | end | |
1270 | tb.MouseButton1Click:connect(onClick) | |
1271 | tb = Instance.new("TextButton") | |
1272 | tb.Parent = gm | |
1273 | tb.Size = UDim2.new(0,70,0,30) | |
1274 | tb.Position = UDim2.new(0,900,0,40) | |
1275 | tb.Text = "Blue" | |
1276 | tb.BackgroundTransparency = .5 | |
1277 | tb.TextTransparency = .1 | |
1278 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1279 | tb.BorderColor3 = Color3.new(50,255,255) | |
1280 | function onClick() | |
1281 | Mouth.BrickColor = BrickColor.new("Really blue") | |
1282 | Eye1.BrickColor = BrickColor.new("Really blue") | |
1283 | Eye2.BrickColor = BrickColor.new("Really blue") | |
1284 | end | |
1285 | tb.MouseButton1Click:connect(onClick) | |
1286 | tb = Instance.new("TextButton") | |
1287 | tb.Parent = gm | |
1288 | tb.Size = UDim2.new(0,70,0,30) | |
1289 | tb.Position = UDim2.new(0,1000,0,40) | |
1290 | tb.Text = "Yellow" | |
1291 | tb.BackgroundTransparency = .5 | |
1292 | tb.TextTransparency = .1 | |
1293 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1294 | tb.BorderColor3 = Color3.new(50,255,255) | |
1295 | function onClick() | |
1296 | Mouth.BrickColor = BrickColor.new("Really red") | |
1297 | Eye1.BrickColor = BrickColor.new("Really red") | |
1298 | Eye2.BrickColor = BrickColor.new("Really red") | |
1299 | end | |
1300 | tb.MouseButton1Click:connect(onClick) | |
1301 | tb = Instance.new("TextButton") | |
1302 | tb.Parent = gm | |
1303 | tb.Size = UDim2.new(0,70,0,30) | |
1304 | tb.Position = UDim2.new(0,1000,0,200) | |
1305 | tb.Text = "Free Self" | |
1306 | tb.BackgroundTransparency = .5 | |
1307 | tb.TextTransparency = .1 | |
1308 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1309 | tb.BorderColor3 = Color3.new(50,255,255) | |
1310 | function onClick() | |
1311 | Free() | |
1312 | end | |
1313 | tb.MouseButton1Click:connect(onClick) | |
1314 | tb = Instance.new("TextButton") | |
1315 | tb.Parent = gm | |
1316 | tb.Size = UDim2.new(0,70,0,30) | |
1317 | tb.Position = UDim2.new(0,800,0,240) | |
1318 | tb.Text = "HeadAche" | |
1319 | tb.BackgroundTransparency = .5 | |
1320 | tb.TextTransparency = .1 | |
1321 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1322 | tb.BorderColor3 = Color3.new(50,255,255) | |
1323 | function onClick() | |
1324 | HeadAche() | |
1325 | end | |
1326 | tb.MouseButton1Click:connect(onClick) | |
1327 | tb = Instance.new("TextButton") | |
1328 | tb.Parent = gm | |
1329 | tb.Size = UDim2.new(0,70,0,30) | |
1330 | tb.Position = UDim2.new(0,900,0,240) | |
1331 | tb.Text = "Shield" | |
1332 | tb.BackgroundTransparency = .5 | |
1333 | tb.TextTransparency = .1 | |
1334 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1335 | tb.BorderColor3 = Color3.new(50,255,255) | |
1336 | function click() | |
1337 | if not Shieldz then | |
1338 | ShieldOn() | |
1339 | else | |
1340 | ShieldOff() | |
1341 | end | |
1342 | end | |
1343 | tb.MouseButton1Click:connect(click) | |
1344 | while true do | |
1345 | wait() | |
1346 | Character.Humanoid.WalkSpeed = 50 | |
1347 | Character.Humanoid.MaxHealth = math.huge | |
1348 | Character.Humanoid.Health = math.huge | |
1349 | if Torso.Position.Y <= -20 or Torso.Position.Y >= 10000 then | |
1350 | Base = Workspace:findFirstChild("Base") | |
1351 | if Base ~= nil then | |
1352 | Character:MoveTo(Base.Position) | |
1353 | else | |
1354 | Character:MoveTo(Vector3.new(0, 100, 0)) | |
1355 | end | |
1356 | end | |
1357 | end |