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 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer | |
5 | script.Parent = InternalData.RealOwner.Character | |
6 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event | |
7 | local function createObject (connections, index) | |
8 | local proxy = newproxy (true);local meta = getmetatable (proxy); | |
9 | local runbind = function (self, i, ...) connections[i]:Fire (...); end; | |
10 | while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end; | |
11 | meta.__index = function (self, i) | |
12 | if (i == 'TriggerEvent') then return runbind end; | |
13 | return connections[i] and connections[i].Event or index[i]; | |
14 | end; | |
15 | meta.__newindex = index;meta.__metatable = false;return proxy | |
16 | end; | |
17 | local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()}) | |
18 | local UserInputService = createObject({"InputBegan","InputEnded"},{}) | |
19 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
20 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
21 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
22 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
23 | if FiredBy ~= InternalData.RealOwner then return end | |
24 | if Input.MouseEvent then | |
25 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
26 | elseif Input.Sound then | |
27 | if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end | |
28 | else | |
29 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
30 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end | |
31 | for _,Action in pairs(ContextActionService.Actions) do | |
32 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
33 | end | |
34 | Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
35 | end | |
36 | end) | |
37 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
38 | Event.Parent = NLS([[ | |
39 | local Player = owner; | |
40 | local Sounds = {}; | |
41 | local Event = script:WaitForChild("UserInput"); | |
42 | local UserInputService = game:GetService("UserInputService"); | |
43 | local Mouse = Player:GetMouse(); | |
44 | local Input = function(Input,gameProcessedEvent) | |
45 | if gameProcessedEvent then return end | |
46 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
47 | end | |
48 | Event.OnClientEvent:connect(function(Args) | |
49 | if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end | |
50 | end) | |
51 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
52 | local Hit,Target | |
53 | while wait(1/30) do | |
54 | for x,Sound in pairs(Sounds) do | |
55 | if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end | |
56 | end | |
57 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
58 | Hit = Mouse.Hit;Target = Mouse.Target; | |
59 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
60 | end | |
61 | end | |
62 | ]],InternalData.RealOwner.Character) | |
63 | end | |
64 | InternalData.NewOwner = setmetatable({},{ | |
65 | __index = function (self,Index) | |
66 | local Type = type(InternalData.RealOwner[Index]) | |
67 | if Type == "function" then | |
68 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
69 | return function (self)return InternalData["Mouse"] end | |
70 | end | |
71 | return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end | |
72 | elseif Index == "FakePlayer" then | |
73 | return true | |
74 | end | |
75 | return InternalData.RealOwner[Index] | |
76 | end; | |
77 | __tostring = function(self) return tostring(InternalData.RealOwner) end | |
78 | }) | |
79 | --LoadLibrary("RbxUtility").Create | |
80 | InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library) | |
81 | if Library == "RbxUtility" then | |
82 | return setmetatable({},{ | |
83 | __tostring = function() return "RbxUtility" end; | |
84 | __index = function(self, Index) | |
85 | if Index:lower() == "create" then | |
86 | return function(Type) | |
87 | return function(Data) | |
88 | Data = Data or {} | |
89 | local Inst = Instance.new(Type) | |
90 | for x,y in pairs(Data) do | |
91 | if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end | |
92 | if y == owner then y = InternalData.RealOwner end | |
93 | Inst[x] = y | |
94 | end | |
95 | return Inst | |
96 | end | |
97 | end | |
98 | end | |
99 | return InternalData.LoadLibrary(Library)[Index] | |
100 | end | |
101 | }) | |
102 | end | |
103 | return InternalData.LoadLibrary(Library) | |
104 | end | |
105 | InternalData.RealInstance = Instance;Instance = setmetatable({},{ | |
106 | __index = function (self,Index) | |
107 | if Index:lower() == 'new' then | |
108 | return function (Type, Parent) | |
109 | if Parent == owner then Parent = InternalData.RealOwner end | |
110 | if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end | |
111 | local Real = InternalData.RealInstance.new(Type,Parent) | |
112 | if not Type then return end | |
113 | if Type == "BillboardGui" then | |
114 | local ToReturn = setmetatable({},{ | |
115 | __index = function (self,Index) | |
116 | if type(Real[Index]) == "function" then | |
117 | if Index:lower() == "clone" then | |
118 | return function (self) | |
119 | local Real = Real:Clone() | |
120 | local ToReturn = setmetatable({RealObject = Real},{ | |
121 | __index = function (self,Index) | |
122 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
123 | return Real[Index] | |
124 | end; | |
125 | __newindex = function (self,Index,Value) | |
126 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
127 | if Value == owner then Value = InternalData.RealOwner end | |
128 | Real[Index] = Value | |
129 | end; | |
130 | __tostring = function(self) return tostring(Real) end; | |
131 | }) | |
132 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
133 | end | |
134 | end | |
135 | return function (self,...) return Real[Index](Real,...)end | |
136 | end | |
137 | return Real[Index] | |
138 | end; | |
139 | __newindex = function (self,Index,Value) | |
140 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
141 | if Value == owner then Value = InternalData.RealOwner end | |
142 | Real[Index] = Value | |
143 | end; | |
144 | __tostring = function(self) return tostring(Real) end; | |
145 | }) | |
146 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
147 | elseif Type:lower() == "sound" then | |
148 | Real.Parent = owner.Character; | |
149 | local ToReturn = setmetatable({RealObject = Real},{ | |
150 | __index = function (self,Index) | |
151 | if Index:lower() == "playbackloudness" then | |
152 | return InternalData.SoundLoudness[Real] or 0 | |
153 | elseif type(Real[Index]) == "function" then | |
154 | if Index:lower() == "clone" then | |
155 | return function (self) | |
156 | local Real = Real:Clone() | |
157 | local ToReturn = setmetatable({},{ | |
158 | __index = function (self,Index) | |
159 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
160 | return Real[Index] | |
161 | end; | |
162 | __newindex = function (self,Index,Value) | |
163 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
164 | if Value == owner then Value = InternalData.RealOwner end | |
165 | Real[Index] = Value | |
166 | end; | |
167 | __tostring = function(self) return tostring(Real) end; | |
168 | }) | |
169 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
170 | end | |
171 | end | |
172 | return function (self,...) return Real[Index](Real,...)end | |
173 | end | |
174 | return Real[Index] | |
175 | end; | |
176 | __newindex = function (self,Index,Value) | |
177 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
178 | if Value == owner then Value = InternalData.RealOwner end | |
179 | Real[Index] = Value | |
180 | end; | |
181 | __tostring = function(self) return tostring(Real) end; | |
182 | }) | |
183 | InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn; | |
184 | else | |
185 | local ToReturn = setmetatable({RealObject = Real},{ | |
186 | __index = function (self,Index) | |
187 | if type(Real[Index]) == "function" then | |
188 | if Index:lower() == "clone" then | |
189 | return function (self) | |
190 | local Real = Real:Clone() | |
191 | local ToReturn = setmetatable({},{ | |
192 | __index = function (self,Index) | |
193 | if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end | |
194 | return Real[Index] | |
195 | end; | |
196 | __newindex = function (self,Index,Value) | |
197 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
198 | if Value == owner then Value = InternalData.RealOwner end | |
199 | Real[Index] = Value | |
200 | end; | |
201 | __tostring = function(self) return tostring(Real) end; | |
202 | }) | |
203 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
204 | end | |
205 | end | |
206 | return function (self,...) return Real[Index](Real,...)end | |
207 | end | |
208 | return Real[Index] | |
209 | end; | |
210 | __newindex = function (self,Index,Value) | |
211 | if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end | |
212 | if Value == owner then Value = InternalData.RealOwner end | |
213 | Real[Index] = Value | |
214 | end; | |
215 | __tostring = function(self) return tostring(Real) end; | |
216 | }) | |
217 | InternalData.RealObjs[ToReturn] = Real;return ToReturn; | |
218 | end | |
219 | end | |
220 | end | |
221 | return InternalData.RealInstance[Index] | |
222 | end; | |
223 | __tostring = function(self) return tostring(InternalData.RealInstance) end; | |
224 | }); | |
225 | InternalData.RealGame = game;game = setmetatable({},{ | |
226 | __index = function (self,Index) | |
227 | if InternalData.RealGame[Index] then | |
228 | local Type = type(InternalData.RealGame[Index]) | |
229 | if Type == "function" then | |
230 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
231 | return function (self,Service) | |
232 | local FakeServices = { | |
233 | ["players"] = function() | |
234 | return setmetatable({},{ | |
235 | __index = function (self2,Index2) | |
236 | local RealService = InternalData.RealGame:GetService(Service) | |
237 | local Type2 = type(RealService[Index2]) | |
238 | if Type2 == "function" then | |
239 | return function (self,...) return RealService[Index2](RealService,...)end | |
240 | else | |
241 | if Index2:lower() == "localplayer" then return InternalData.NewOwner end | |
242 | return RealService[Index2] | |
243 | end | |
244 | end; | |
245 | __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end | |
246 | }) | |
247 | end; | |
248 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
249 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
250 | ["debris"] = function() | |
251 | return setmetatable({},{ | |
252 | __index = function(self2,Index2) | |
253 | local RealService = InternalData.RealGame:GetService(Service) | |
254 | local Type2 = type(RealService[Index2]) | |
255 | if Type2 == "function" then | |
256 | if Index2:lower() == "additem" then | |
257 | return function (self,Item,Time) | |
258 | if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end | |
259 | return RealService:AddItem(Item,Time) | |
260 | end | |
261 | end | |
262 | return function (self,...) return RealService[Index2](RealService,...) end | |
263 | end | |
264 | return RealService[Index2] | |
265 | end; | |
266 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end | |
267 | }) | |
268 | end; | |
269 | ["runservice"] = function() | |
270 | return setmetatable({},{ | |
271 | __index = function(self2,Index2) | |
272 | local RealService = InternalData.RealGame:GetService(Service) | |
273 | local Type2 = type(RealService[Index2]) | |
274 | if Type2 == "function" then | |
275 | return function (self,...) return RealService[Index2](RealService,...) end | |
276 | else | |
277 | local RunServices = { | |
278 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
279 | ["renderstepped"] = function() return RealService["Stepped"] end | |
280 | } | |
281 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
282 | return RealService[Index2] | |
283 | end | |
284 | end; | |
285 | __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end | |
286 | }) | |
287 | end | |
288 | } | |
289 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
290 | return InternalData.RealGame:GetService(Service) | |
291 | end | |
292 | end | |
293 | return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end | |
294 | else | |
295 | if game:GetService(Index) then return game:GetService(Index) end | |
296 | return InternalData.RealGame[Index] | |
297 | end | |
298 | end | |
299 | return nil | |
300 | end; | |
301 | __tostring = function(self) return tostring(InternalData.game) end | |
302 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!") | |
303 | ||
304 | Player = game:GetService("Players").LocalPlayer | |
305 | Character = Player.Character | |
306 | PlayerGui = Player.PlayerGui | |
307 | Backpack = Player.Backpack | |
308 | Humanoid = Character.Humanoid | |
309 | Torso = Character.Torso | |
310 | Head = Character.Head | |
311 | LeftArm = Character["Left Arm"] | |
312 | RightArm = Character["Right Arm"] | |
313 | LeftLeg = Character["Left Leg"] | |
314 | RightLeg = Character["Right Leg"] | |
315 | Neck = Torso["Neck"] | |
316 | RightShoulder = Torso["Right Shoulder"] | |
317 | LeftShoulder = Torso["Left Shoulder"] | |
318 | RightHip = Torso["Right Hip"] | |
319 | LeftHip = Torso["Left Hip"] | |
320 | Shieldz = false | |
321 | Radio = false | |
322 | Healing = false | |
323 | ||
324 | NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
325 | NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
326 | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
327 | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
328 | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
329 | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
330 | LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
331 | LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
332 | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
333 | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
334 | ||
335 | Stuff = Player.Character:GetChildren() | |
336 | for i = 1 , #Stuff do | |
337 | - | if Stuff[i].Name == "Hat" or Stuff[i].Name == "Hat" or Stuff[i].className == "Hat" then |
337 | + | if Stuff[i].Name == "Hair" or Stuff[i].Name == "Neck" or Stuff[i].className == "Hat" then |
338 | Stuff[i]:Remove() | |
339 | end | |
340 | end | |
341 | ||
342 | ||
343 | ||
344 | Bottom = Instance.new("Part") | |
345 | Bottom.Parent = Character | |
346 | Bottom.Size = Vector3.new(1,1,1) | |
347 | Bottom.TopSurface = "Smooth" | |
348 | Bottom.BottomSurface = "Smooth" | |
349 | Bottom.CanCollide = false | |
350 | Bottom.Reflectance = .1 | |
351 | Bottom.FormFactor = "Symmetric" | |
352 | Bottom.BrickColor = BrickColor.new("Black") | |
353 | BottomMesh=Instance.new("CylinderMesh") | |
354 | BottomMesh.Scale=Vector3.new(1.5,.1,1.5) | |
355 | --BottomMesh.MeshType = "Head" | |
356 | BottomMesh.Parent=Bottom | |
357 | Bottom:BreakJoints() | |
358 | beld = Instance.new("Weld") | |
359 | beld.Parent = Head | |
360 | beld.Part0 = Head | |
361 | beld.Part1 = Bottom | |
362 | beld.C0 = CFrame.new(0,.5,-0) | |
363 | Top = Instance.new("Part") | |
364 | Top.Parent = Character | |
365 | Top.Size = Vector3.new(1,1,1) | |
366 | Top.TopSurface = "Smooth" | |
367 | Top.BottomSurface = "Smooth" | |
368 | Top.CanCollide = false | |
369 | Top.Reflectance = .1 | |
370 | Top.FormFactor = "Symmetric" | |
371 | Top.BrickColor = BrickColor.new("Black") | |
372 | TopMesh=Instance.new("CylinderMesh") | |
373 | TopMesh.Scale=Vector3.new(1,1.2,1) | |
374 | --TopMesh.MeshType = "Head" | |
375 | TopMesh.Parent=Top | |
376 | Top:BreakJoints() | |
377 | teld = Instance.new("Weld") | |
378 | teld.Parent = Head | |
379 | teld.Part0 = Head | |
380 | teld.Part1 = Top | |
381 | teld.C0 = CFrame.new(0,1,-0) | |
382 | ||
383 | Middle = Instance.new("Part") | |
384 | Middle.Parent = Character | |
385 | Middle.Size = Vector3.new(1,1,1) | |
386 | Middle.TopSurface = "Smooth" | |
387 | Middle.BottomSurface = "Smooth" | |
388 | Middle.CanCollide = false | |
389 | Middle.Reflectance = .1 | |
390 | Middle.FormFactor = "Symmetric" | |
391 | Middle.BrickColor = BrickColor.new("Really red") | |
392 | MiddleMesh=Instance.new("CylinderMesh") | |
393 | MiddleMesh.Scale=Vector3.new(1.01,.1,1.01) | |
394 | --MiddleMesh.MeshType = "Head" | |
395 | MiddleMesh.Parent=Middle | |
396 | Middle:BreakJoints() | |
397 | meld = Instance.new("Weld") | |
398 | meld.Parent = Head | |
399 | meld.Part0 = Head | |
400 | meld.Part1 = Middle | |
401 | meld.C0 = CFrame.new(0,1.3,-0) | |
402 | ||
403 | ||
404 | function Page(Num,gm) | |
405 | if Num == 1 then | |
406 | for _,v in pairs (gm:GetChildren()) do | |
407 | if v.Name == "Pg2" then | |
408 | v:Remove() | |
409 | else | |
410 | v.Visible = true | |
411 | end | |
412 | end | |
413 | elseif Num == 2 then | |
414 | for _,v in pairs (gm:GetChildren()) do | |
415 | if v.Name ~= "Pg2" then | |
416 | if v.className == "TextButton" then | |
417 | v.Visible = false | |
418 | end | |
419 | end | |
420 | end | |
421 | tb = Instance.new("TextButton") | |
422 | tb.Parent = gm | |
423 | tb.Size = UDim2.new(0,70,0,30) | |
424 | tb.Position = UDim2.new(0,800,0,40) | |
425 | tb.Text = "Sun Hat" | |
426 | tb.BackgroundTransparency = .5 | |
427 | tb.TextTransparency = .1 | |
428 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
429 | tb.BorderColor3 = Color3.new(50,255,255) | |
430 | tb.Name = "Pg2" | |
431 | function click() | |
432 | SunHat() | |
433 | end | |
434 | tb.MouseButton1Click:connect(click) | |
435 | tb = Instance.new("TextButton") | |
436 | tb.Parent = gm | |
437 | tb.Size = UDim2.new(0,70,0,30) | |
438 | tb.Position = UDim2.new(0,800,0,80) | |
439 | tb.Text = "No Sun Hat" | |
440 | tb.BackgroundTransparency = .5 | |
441 | tb.TextTransparency = .1 | |
442 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
443 | tb.BorderColor3 = Color3.new(50,255,255) | |
444 | tb.Name = "Pg2" | |
445 | function click() | |
446 | NoSunHat() | |
447 | end | |
448 | tb.MouseButton1Click:connect(click) | |
449 | tb = Instance.new("TextButton") | |
450 | tb.Parent = gm | |
451 | tb.Size = UDim2.new(0,70,0,30) | |
452 | tb.Position = UDim2.new(0,800,0,120) | |
453 | tb.Text = "Radio" | |
454 | tb.BackgroundTransparency = .5 | |
455 | tb.TextTransparency = .1 | |
456 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
457 | tb.BorderColor3 = Color3.new(50,255,255) | |
458 | tb.Name = "Pg2" | |
459 | function click() | |
460 | Radio() | |
461 | Radio = true | |
462 | end | |
463 | tb.MouseButton1Click:connect(click) | |
464 | tb = Instance.new("TextButton") | |
465 | tb.Parent = gm | |
466 | tb.Size = UDim2.new(0,70,0,30) | |
467 | tb.Position = UDim2.new(0,800,0,160) | |
468 | tb.Text = "No Radio" | |
469 | tb.BackgroundTransparency = .5 | |
470 | tb.TextTransparency = .1 | |
471 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
472 | tb.BorderColor3 = Color3.new(50,255,255) | |
473 | tb.Name = "Pg2" | |
474 | function click() | |
475 | Radio = false | |
476 | NoRadio() | |
477 | end | |
478 | tb.MouseButton1Click:connect(click) | |
479 | tb = Instance.new("TextButton") | |
480 | tb.Parent = gm | |
481 | tb.Size = UDim2.new(0,70,0,30) | |
482 | tb.Position = UDim2.new(0,800,0,200) | |
483 | tb.Text = "Healer" | |
484 | tb.BackgroundTransparency = .5 | |
485 | tb.TextTransparency = .1 | |
486 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
487 | tb.BorderColor3 = Color3.new(50,255,255) | |
488 | tb.Name = "Pg2" | |
489 | function click() | |
490 | Something() | |
491 | Healing = true | |
492 | end | |
493 | tb.MouseButton1Click:connect(click) | |
494 | tb = Instance.new("TextButton") | |
495 | tb.Parent = gm | |
496 | tb.Size = UDim2.new(0,70,0,30) | |
497 | tb.Position = UDim2.new(0,800,0,240) | |
498 | tb.Text = "No Healer" | |
499 | tb.BackgroundTransparency = .5 | |
500 | tb.TextTransparency = .1 | |
501 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
502 | tb.BorderColor3 = Color3.new(50,255,255) | |
503 | tb.Name = "Pg2" | |
504 | function click() | |
505 | NoHealer() | |
506 | Healing = false | |
507 | end | |
508 | tb.MouseButton1Click:connect(click) | |
509 | tb = Instance.new("TextButton") | |
510 | tb.Parent = gm | |
511 | tb.Size = UDim2.new(0,70,0,30) | |
512 | tb.Position = UDim2.new(0,880,0,40) | |
513 | tb.Text = "Lemme alone!!" | |
514 | tb.BackgroundTransparency = .5 | |
515 | tb.TextTransparency = .1 | |
516 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
517 | tb.BorderColor3 = Color3.new(50,255,255) | |
518 | tb.Name = "Pg2" | |
519 | function click() | |
520 | LeaveMeAlone() | |
521 | end | |
522 | tb.MouseButton1Click:connect(click) | |
523 | tb = Instance.new("TextButton") | |
524 | tb.Parent = gm | |
525 | tb.Size = UDim2.new(0,70,0,30) | |
526 | tb.Position = UDim2.new(0,880,0,80) | |
527 | tb.Text = "I'm cool now" | |
528 | tb.BackgroundTransparency = .5 | |
529 | tb.TextTransparency = .1 | |
530 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
531 | tb.BorderColor3 = Color3.new(50,255,255) | |
532 | tb.Name = "Pg2" | |
533 | function click() | |
534 | ImCoolNow() | |
535 | end | |
536 | tb.MouseButton1Click:connect(click) | |
537 | end | |
538 | end | |
539 | ||
540 | function Heal() | |
541 | for i = 1, 40 do | |
542 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.1,0,.1) | |
543 | wait() | |
544 | end | |
545 | for i = 1, 60 do | |
546 | Humanoid.Health = Humanoid.Health + 2 | |
547 | Middle.Transparency = Middle.Transparency + 0.02 | |
548 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(0,.4,0) | |
549 | wait() | |
550 | end | |
551 | Middle.Transparency = 0 | |
552 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
553 | end | |
554 | ||
555 | function Harm() | |
556 | Middle.BrickColor = BrickColor.new("Really red") | |
557 | for i = 1, 40 do | |
558 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.1,0,.1) | |
559 | wait() | |
560 | end | |
561 | for i = 1, 60 do | |
562 | Humanoid.Health = Humanoid.Health - 1 | |
563 | Middle.Transparency = Middle.Transparency + 0.02 | |
564 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(0,.4,0) | |
565 | wait() | |
566 | end | |
567 | Middle.Transparency = 0 | |
568 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
569 | Middle.BrickColor = BrickColor.new("Really red") | |
570 | end | |
571 | ||
572 | ||
573 | ||
574 | ||
575 | function ShieldOn() | |
576 | Billy = Instance.new("BodyPosition") | |
577 | Billy.Name = "JoeMama" | |
578 | Billy.Parent = Head | |
579 | Billy.position = Head.Position | |
580 | Billy.maxForce = Vector3.new(0, math.huge, 0) | |
581 | Middle.Transparency = .5 | |
582 | Character.Humanoid.WalkSpeed = 32 | |
583 | for i = 1, 30 do | |
584 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.1,0,.1) | |
585 | wait() | |
586 | end | |
587 | for i = 1, 10 do | |
588 | wait() | |
589 | Billy.position = Billy.position + Vector3.new(0,1,0) | |
590 | end | |
591 | Sh = true | |
592 | end | |
593 | ||
594 | function ShieldOff() | |
595 | Sh = false | |
596 | for i = 1, 30 do | |
597 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.1,0,.1) | |
598 | wait() | |
599 | Middle.Transparency = 0 | |
600 | Character.Humanoid.WalkSpeed = 16 | |
601 | end | |
602 | Billy:remove() | |
603 | end | |
604 | ||
605 | function Free() | |
606 | for i = 1, 10 do | |
607 | Torso.Transparency = Torso.Transparency + .1 | |
608 | Head.Transparency = Head.Transparency + .1 | |
609 | RightArm.Transparency = RightArm.Transparency + .1 | |
610 | LeftArm.Transparency = LeftArm.Transparency + .1 | |
611 | LeftLeg.Transparency = LeftLeg.Transparency + .1 | |
612 | RightLeg.Transparency =RightLeg.Transparency + .1 | |
613 | Top.Transparency = Top.Transparency + .1 | |
614 | Middle.Transparency = Middle.Transparency + .1 | |
615 | Bottom.Transparency = Bottom.Transparency + .1 | |
616 | wait() | |
617 | end | |
618 | Torso.CFrame = Torso.CFrame + Vector3.new(0,10,0) | |
619 | Torso.Anchored = true | |
620 | for i = 1, 10 do | |
621 | Torso.Transparency = Torso.Transparency - .1 | |
622 | Head.Transparency = Head.Transparency - .1 | |
623 | RightArm.Transparency = RightArm.Transparency - .1 | |
624 | LeftArm.Transparency = LeftArm.Transparency - .1 | |
625 | LeftLeg.Transparency = LeftLeg.Transparency - .1 | |
626 | RightLeg.Transparency =RightLeg.Transparency - .1 | |
627 | Top.Transparency = Top.Transparency - .1 | |
628 | Middle.Transparency = Middle.Transparency - .1 | |
629 | Bottom.Transparency = Bottom.Transparency - .1 | |
630 | wait() | |
631 | end | |
632 | Torso.Anchored = false | |
633 | end | |
634 | ||
635 | --[[function TeleForward() | |
636 | for i = 1, 10 do | |
637 | Torso.Transparency = Torso.Transparency + .1 | |
638 | Head.Transparency = Head.Transparency + .1 | |
639 | RightArm.Transparency = RightArm.Transparency + .1 | |
640 | LeftArm.Transparency = LeftArm.Transparency + .1 | |
641 | LeftLeg.Transparency = LeftLeg.Transparency + .1 | |
642 | RightLeg.Transparency =RightLeg.Transparency + .1 | |
643 | Top.Transparency = Top.Transparency + .1 | |
644 | Middle.Transparency = Middle.Transparency + .1 | |
645 | Bottom.Transparency = Bottom.Transparency + .1 | |
646 | wait() | |
647 | end | |
648 | Torso.CFrame.LookVector = Torso.CFrame.LookVector * 10 | |
649 | for i = 1, 10 do | |
650 | Torso.Transparency = Torso.Transparency - .1 | |
651 | Head.Transparency = Head.Transparency - .1 | |
652 | RightArm.Transparency = RightArm.Transparency - .1 | |
653 | LeftArm.Transparency = LeftArm.Transparency - .1 | |
654 | LeftLeg.Transparency = LeftLeg.Transparency - .1 | |
655 | RightLeg.Transparency =RightLeg.Transparency - .1 | |
656 | Top.Transparency = Top.Transparency - .1 | |
657 | Middle.Transparency = Middle.Transparency - .1 | |
658 | Bottom.Transparency = Bottom.Transparency - .1 | |
659 | wait() | |
660 | end | |
661 | end]]-- | |
662 | ||
663 | function Rampage() | |
664 | pp = Instance.new("Part") | |
665 | pp.Parent = Torso | |
666 | pp.CFrame = Torso.CFrame | |
667 | pp.Transparency = 1 | |
668 | pp.BrickColor = BrickColor.new("Bright yellow") | |
669 | pp.Size = Vector3.new(10,10,10) | |
670 | pp.FormFactor = "Symmetric" | |
671 | --pp.CanCollide = false | |
672 | peld = Instance.new("Weld") | |
673 | peld.Parent = Torso | |
674 | peld.Part0 = Middle | |
675 | peld.Part1 = pp | |
676 | peld.C0 = CFrame.new(0,-2.7,0) | |
677 | pm = Instance.new("SpecialMesh") | |
678 | pm.Parent = pp | |
679 | pm.MeshType = "Sphere" | |
680 | for i = 1, 10 do | |
681 | Torso.Reflectance = Torso.Reflectance + .1 | |
682 | Head.Reflectance = Head.Reflectance + .1 | |
683 | RightArm.Reflectance = RightArm.Reflectance + .1 | |
684 | LeftArm.Reflectance = LeftArm.Reflectance + .1 | |
685 | LeftLeg.Reflectance = LeftLeg.Reflectance + .1 | |
686 | RightLeg.Reflectance =RightLeg.Reflectance + .1 | |
687 | Top.Reflectance = Top.Reflectance + .1 | |
688 | Middle.Reflectance = Middle.Reflectance + .1 | |
689 | Bottom.Reflectance = Bottom.Reflectance + .1 | |
690 | pp.Transparency = pp.Transparency - .05 | |
691 | wait() | |
692 | end | |
693 | function OnTouched(food) | |
694 | if food.Name ~= "Base" then | |
695 | food:remove() | |
696 | end | |
697 | end | |
698 | pp.Touched:connect(OnTouched) | |
699 | Humanoid.WalkSpeed = 80 | |
700 | wait(15) | |
701 | for i = 1, 10 do | |
702 | Torso.Reflectance = Torso.Reflectance - .1 | |
703 | Head.Reflectance = Head.Reflectance - .1 | |
704 | RightArm.Reflectance = RightArm.Reflectance - .1 | |
705 | LeftArm.Reflectance = LeftArm.Reflectance - .1 | |
706 | LeftLeg.Reflectance = LeftLeg.Reflectance - .1 | |
707 | RightLeg.Reflectance =RightLeg.Reflectance - .1 | |
708 | Top.Reflectance = Top.Reflectance - .1 | |
709 | Middle.Reflectance = Middle.Reflectance - .1 | |
710 | Bottom.Reflectance = Bottom.Reflectance - .1 | |
711 | pp.Transparency = pp.Transparency + .1 | |
712 | wait() | |
713 | end | |
714 | pp:remove() | |
715 | Humanoid.WalkSpeed = 16 | |
716 | end | |
717 | ||
718 | function Something() | |
719 | for i = 1, 20 do | |
720 | Middle.Transparency = Middle.Transparency + .05 | |
721 | wait() | |
722 | end | |
723 | --MiddleMesh.MeshType = "Sphere" | |
724 | for i = 1, 20 do | |
725 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.04,0,.04) | |
726 | wait() | |
727 | end | |
728 | for i = 1, 10 do | |
729 | teld.C0 = teld.C0 - Vector3.new(.045,0,0) | |
730 | wait() | |
731 | end | |
732 | for i = 1, 20 do | |
733 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.065,0,.065) | |
734 | wait() | |
735 | end | |
736 | for i = 1, 10 do | |
737 | beld.C0 = beld.C0 + Vector3.new(0,.045,0) | |
738 | wait() | |
739 | end | |
740 | for i = 1, 10 do | |
741 | beld.C0 = beld.C0 + Vector3.new(.045,0,0) | |
742 | wait() | |
743 | end | |
744 | for i = 1, 20 do | |
745 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.06,0) | |
746 | wait() | |
747 | end | |
748 | for i = 1, 20 do | |
749 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.01,0,.01) | |
750 | wait() | |
751 | end | |
752 | for i = 1, 10 do | |
753 | meld.C0 = meld.C0 + Vector3.new(0,.035,0) | |
754 | wait() | |
755 | end | |
756 | end | |
757 | ||
758 | function NoHealer() | |
759 | meld.C0 = CFrame.new(0,1.3,-0) | |
760 | MiddleMesh.Scale=Vector3.new(1.01,.1,1.01) | |
761 | for i = 1, 20 do | |
762 | Middle.Transparency = Middle.Transparency - .05 | |
763 | wait() | |
764 | end | |
765 | --MiddleMesh.MeshType = "Sphere" | |
766 | for i = 1, 20 do | |
767 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.04,0,.04) | |
768 | wait() | |
769 | end | |
770 | for i = 1, 10 do | |
771 | teld.C0 = teld.C0 + Vector3.new(.045,0,0) | |
772 | wait() | |
773 | end | |
774 | for i = 1, 20 do | |
775 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.065,0,.065) | |
776 | wait() | |
777 | end | |
778 | for i = 1, 10 do | |
779 | beld.C0 = beld.C0 - Vector3.new(0,.045,0) | |
780 | wait() | |
781 | end | |
782 | for i = 1, 10 do | |
783 | beld.C0 = beld.C0 - Vector3.new(.045,0,0) | |
784 | wait() | |
785 | end | |
786 | for i = 1, 20 do | |
787 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.06,0) | |
788 | wait() | |
789 | end | |
790 | end | |
791 | ||
792 | function LeaveMeAlone() | |
793 | for i = 1, 20 do | |
794 | beld.C0 = beld.C0 - Vector3.new(0,.125,0) | |
795 | wait() | |
796 | end | |
797 | for i = 1, 20 do | |
798 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.15,0,.15) | |
799 | wait() | |
800 | end | |
801 | for i = 1, 20 do | |
802 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.275,0) | |
803 | wait() | |
804 | end | |
805 | pp = Instance.new("Part") | |
806 | pp.Parent = Torso | |
807 | pp.CFrame = Torso.CFrame | |
808 | pp.Transparency = 1 | |
809 | pp.BrickColor = BrickColor.new("Bright yellow") | |
810 | pp.Size = Vector3.new(4.5,5,4.5) | |
811 | pp.FormFactor = "Symmetric" | |
812 | --pp.CanCollide = false | |
813 | peld = Instance.new("Weld") | |
814 | peld.Parent = Torso | |
815 | peld.Part0 = Head | |
816 | peld.Part1 = pp | |
817 | peld.C0 = CFrame.new(0,-2.5,0) | |
818 | Humanoid.WalkSpeed = 0 | |
819 | end | |
820 | ||
821 | function ImCoolNow() | |
822 | for i = 1, 20 do | |
823 | beld.C0 = beld.C0 + Vector3.new(0,.125,0) | |
824 | wait() | |
825 | end | |
826 | for i = 1, 20 do | |
827 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.15,0,.15) | |
828 | wait() | |
829 | end | |
830 | for i = 1, 20 do | |
831 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.275,0) | |
832 | wait() | |
833 | end | |
834 | pp:remove() | |
835 | Humanoid.WalkSpeed = 16 | |
836 | end | |
837 | ||
838 | function Radio() | |
839 | for i = 1, 20 do | |
840 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
841 | wait() | |
842 | end | |
843 | for i = 1, 20 do | |
844 | beld.C0 = beld.C0 + Vector3.new(0,0,.08) | |
845 | wait() | |
846 | end | |
847 | for i = 1, 20 do | |
848 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
849 | wait() | |
850 | end | |
851 | for i = 1, 20 do | |
852 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.05,0,.05) | |
853 | wait() | |
854 | end | |
855 | for i = 1, 20 do | |
856 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.175,0) | |
857 | wait() | |
858 | end | |
859 | for i = 1, 20 do | |
860 | meld.C0 = meld.C0 + Vector3.new(0,0,.08) | |
861 | wait() | |
862 | end | |
863 | for i = 1, 20 do | |
864 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
865 | wait() | |
866 | end | |
867 | for i = 1, 20 do | |
868 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.05,0,.05) | |
869 | wait() | |
870 | end | |
871 | for i = 1, 20 do | |
872 | teld.C0 = teld.C0 + Vector3.new(0,0,.08) | |
873 | wait() | |
874 | end | |
875 | for i = 1, 20 do | |
876 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.043,0,.043) | |
877 | wait() | |
878 | end | |
879 | for i = 1, 20 do | |
880 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,.12,0) | |
881 | wait() | |
882 | end | |
883 | for i = 1, 20 do | |
884 | teld.C0 = teld.C0 + Vector3.new(.03,0,0) | |
885 | wait() | |
886 | end | |
887 | for i = 1, 20 do | |
888 | teld.C0 = teld.C0 + Vector3.new(0,.05,0) | |
889 | wait() | |
890 | end | |
891 | end | |
892 | ||
893 | function NoRadio() | |
894 | for i = 1, 20 do | |
895 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
896 | wait() | |
897 | end | |
898 | for i = 1, 20 do | |
899 | beld.C0 = beld.C0 - Vector3.new(0,0,.08) | |
900 | wait() | |
901 | end | |
902 | for i = 1, 20 do | |
903 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
904 | wait() | |
905 | end | |
906 | for i = 1, 20 do | |
907 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.05,0,.05) | |
908 | wait() | |
909 | end | |
910 | for i = 1, 20 do | |
911 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.175,0) | |
912 | wait() | |
913 | end | |
914 | for i = 1, 20 do | |
915 | meld.C0 = meld.C0 - Vector3.new(0,0,.08) | |
916 | wait() | |
917 | end | |
918 | for i = 1, 20 do | |
919 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
920 | wait() | |
921 | end | |
922 | for i = 1, 20 do | |
923 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.05,0,.05) | |
924 | wait() | |
925 | end | |
926 | for i = 1, 20 do | |
927 | teld.C0 = teld.C0 - Vector3.new(0,0,.08) | |
928 | wait() | |
929 | end | |
930 | for i = 1, 20 do | |
931 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.043,0,.043) | |
932 | wait() | |
933 | end | |
934 | for i = 1, 20 do | |
935 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,.12,0) | |
936 | wait() | |
937 | end | |
938 | for i = 1, 20 do | |
939 | teld.C0 = teld.C0 - Vector3.new(.03,0,0) | |
940 | wait() | |
941 | end | |
942 | for i = 1, 20 do | |
943 | teld.C0 = teld.C0 - Vector3.new(0,.05,0) | |
944 | wait() | |
945 | end | |
946 | end | |
947 | ||
948 | ||
949 | function SunHat() | |
950 | for i = 1, 12.5 do | |
951 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
952 | wait() | |
953 | end | |
954 | for i = 1, 2 do | |
955 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
956 | wait() | |
957 | end | |
958 | for i = 1, 15 do | |
959 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.25,0,.25) | |
960 | wait() | |
961 | end | |
962 | for i = 1, 10 do | |
963 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.25,0,.25) | |
964 | wait() | |
965 | end | |
966 | for i = 1, 22 do | |
967 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,0.05,0) | |
968 | wait() | |
969 | end | |
970 | for i = 1, 5 do | |
971 | teld.C0 = teld.C0 - Vector3.new(0,.04,0) | |
972 | wait() | |
973 | end | |
974 | end | |
975 | ||
976 | ||
977 | function NoSunHat() | |
978 | for i = 1, 12.5 do | |
979 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
980 | wait() | |
981 | end | |
982 | for i = 1, 2 do | |
983 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
984 | wait() | |
985 | end | |
986 | for i = 1, 15 do | |
987 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.25,0,.25) | |
988 | wait() | |
989 | end | |
990 | for i = 1, 10 do | |
991 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.25,0,.25) | |
992 | wait() | |
993 | end | |
994 | for i = 1, 22 do | |
995 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,0.05,0) | |
996 | wait() | |
997 | end | |
998 | for i = 1, 5 do | |
999 | teld.C0 = teld.C0 + Vector3.new(0,.04,0) | |
1000 | wait() | |
1001 | end | |
1002 | end | |
1003 | ||
1004 | function CoolHat() | |
1005 | for i = 1, 15 do | |
1006 | meld.C0 = meld.C0 - Vector3.new(0,.049,0) | |
1007 | wait() | |
1008 | end | |
1009 | for i = 1, 15 do | |
1010 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,0.05,0) | |
1011 | wait() | |
1012 | end | |
1013 | for i = 1, 15 do | |
1014 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.05,0,.05) | |
1015 | wait() | |
1016 | end | |
1017 | for i = 1, 15 do | |
1018 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.025,0,.025) | |
1019 | wait() | |
1020 | end | |
1021 | for i = 1, 10 do | |
1022 | teld.C0 = teld.C0 - Vector3.new(0,.04,0) | |
1023 | wait() | |
1024 | end | |
1025 | for i = 1, 5 do | |
1026 | --Bottom.CFrame = Bottom.CFrame + CFrame.Angles(45, 45, 45) | |
1027 | --CFrame.new()*CFrame,Angles(0,0,0) | |
1028 | end | |
1029 | end | |
1030 | ||
1031 | function NoCoolHat() | |
1032 | for i = 1, 15 do | |
1033 | meld.C0 = meld.C0 + Vector3.new(0,.049,0) | |
1034 | wait() | |
1035 | end | |
1036 | for i = 1, 15 do | |
1037 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,0.05,0) | |
1038 | wait() | |
1039 | end | |
1040 | for i = 1, 15 do | |
1041 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.05,0,.05) | |
1042 | wait() | |
1043 | end | |
1044 | for i = 1, 15 do | |
1045 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.025,0,.025) | |
1046 | wait() | |
1047 | end | |
1048 | for i = 1, 10 do | |
1049 | teld.C0 = teld.C0 + Vector3.new(0,.04,0) | |
1050 | wait() | |
1051 | end | |
1052 | for i = 1, 5 do | |
1053 | --Bottom.CFrame = Bottom.CFrame - CFrame.Angles(45, 45, 45) | |
1054 | --CFrame.new()*CFrame,Angles(0,0,0) | |
1055 | end | |
1056 | end | |
1057 | ||
1058 | function SweatBand() | |
1059 | for i = 1, 20 do | |
1060 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
1061 | wait() | |
1062 | end | |
1063 | for i = 1, 10 do | |
1064 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.0225,0,.0225) | |
1065 | wait() | |
1066 | end | |
1067 | for i = 1, 14 do | |
1068 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.02,0,.02) | |
1069 | wait() | |
1070 | end | |
1071 | for i = 1, 10 do | |
1072 | beld.C0 = beld.C0 - Vector3.new(0,.02,0) | |
1073 | wait() | |
1074 | end | |
1075 | for i = 1, 5 do | |
1076 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.03,0) | |
1077 | wait() | |
1078 | end | |
1079 | for i = 1, 8 do | |
1080 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.1,0,.1) | |
1081 | wait() | |
1082 | end | |
1083 | for i = 1, 8 do | |
1084 | teld.C0 = teld.C0 + Vector3.new(0,0,.072) | |
1085 | wait() | |
1086 | end | |
1087 | for i = 1, 12.5 do | |
1088 | teld.C0 = teld.C0 - Vector3.new(0,.1,0) | |
1089 | wait() | |
1090 | end | |
1091 | end | |
1092 | ||
1093 | function NoSweatBand() | |
1094 | for i = 1, 20 do | |
1095 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
1096 | wait() | |
1097 | end | |
1098 | for i = 1, 10 do | |
1099 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.0225,0,.0225) | |
1100 | wait() | |
1101 | end | |
1102 | for i = 1, 14 do | |
1103 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.02,0,.02) | |
1104 | wait() | |
1105 | end | |
1106 | for i = 1, 10 do | |
1107 | beld.C0 = beld.C0 + Vector3.new(0,.02,0) | |
1108 | wait() | |
1109 | end | |
1110 | for i = 1, 5 do | |
1111 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.03,0) | |
1112 | wait() | |
1113 | end | |
1114 | for i = 1, 8 do | |
1115 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.1,0,.1) | |
1116 | wait() | |
1117 | end | |
1118 | for i = 1, 8 do | |
1119 | teld.C0 = teld.C0 - Vector3.new(0,0,.072) | |
1120 | wait() | |
1121 | end | |
1122 | for i = 1, 12.5 do | |
1123 | teld.C0 = teld.C0 + Vector3.new(0,.1,0) | |
1124 | wait() | |
1125 | end | |
1126 | end | |
1127 | ||
1128 | function Umbrella() | |
1129 | for i = 1, 30 do | |
1130 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
1131 | wait() | |
1132 | end | |
1133 | for i = 1, 44.5 do | |
1134 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
1135 | wait() | |
1136 | end | |
1137 | for i = 1, 6.5 do | |
1138 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0.1,0,0.1) | |
1139 | wait() | |
1140 | end | |
1141 | for i = 1, 20 do | |
1142 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,.25,0) | |
1143 | wait() | |
1144 | end | |
1145 | for i = 1, 15 do | |
1146 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.25,0,.25) | |
1147 | wait() | |
1148 | end | |
1149 | for i = 1, 10 do | |
1150 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.25,0,.25) | |
1151 | wait() | |
1152 | end | |
1153 | end | |
1154 | ||
1155 | function Normal() | |
1156 | for i = 1, 30 do | |
1157 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
1158 | wait() | |
1159 | end | |
1160 | for i = 1, 44.5 do | |
1161 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
1162 | wait() | |
1163 | end | |
1164 | for i = 1, 6.5 do | |
1165 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0.1,0,0.1) | |
1166 | wait() | |
1167 | end | |
1168 | for i = 1, 20 do | |
1169 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,.25,0) | |
1170 | wait() | |
1171 | end | |
1172 | for i = 1, 15 do | |
1173 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.25,0,.25) | |
1174 | wait() | |
1175 | end | |
1176 | for i = 1, 10 do | |
1177 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.25,0,.25) | |
1178 | wait() | |
1179 | end | |
1180 | end | |
1181 | ||
1182 | function Helmet() | |
1183 | for i = 1, 30 do | |
1184 | beld.C0 = beld.C0 - Vector3.new(0,.015,0) | |
1185 | wait() | |
1186 | end | |
1187 | for i = 1, 30 do | |
1188 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.037,0) | |
1189 | wait() | |
1190 | end | |
1191 | for i = 1, 30 do | |
1192 | meld.C0 = meld.C0 - Vector3.new(0,.035,0) | |
1193 | wait() | |
1194 | end | |
1195 | for i = 1, 30 do | |
1196 | meld.C0 = meld.C0 - Vector3.new(0,0,.0095) | |
1197 | wait() | |
1198 | end | |
1199 | for i = 1, 30 do | |
1200 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.03,.0,.03) | |
1201 | wait() | |
1202 | end | |
1203 | for i = 1, 15 do | |
1204 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.01,.0,.01) | |
1205 | wait() | |
1206 | end | |
1207 | for i = 1, 30 do | |
1208 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.01,.0,.01) | |
1209 | wait() | |
1210 | end | |
1211 | for i = 1, 8 do | |
1212 | meld.C0 = meld.C0 + Vector3.new(0,0,.0095) | |
1213 | wait() | |
1214 | end | |
1215 | for i = 1, 8 do | |
1216 | teld.C0 = teld.C0 + Vector3.new(.05,0,0) | |
1217 | wait() | |
1218 | end | |
1219 | end | |
1220 | ||
1221 | function NoHelmet() | |
1222 | for i = 1, 30 do | |
1223 | beld.C0 = beld.C0 + Vector3.new(0,.015,0) | |
1224 | wait() | |
1225 | end | |
1226 | for i = 1, 30 do | |
1227 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.037,0) | |
1228 | wait() | |
1229 | end | |
1230 | for i = 1, 30 do | |
1231 | meld.C0 = meld.C0 + Vector3.new(0,.035,0) | |
1232 | wait() | |
1233 | end | |
1234 | for i = 1, 30 do | |
1235 | meld.C0 = meld.C0 + Vector3.new(0,0,.0095) | |
1236 | wait() | |
1237 | end | |
1238 | for i = 1, 30 do | |
1239 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.03,.0,.03) | |
1240 | wait() | |
1241 | end | |
1242 | for i = 1, 15 do | |
1243 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.01,.0,.01) | |
1244 | wait() | |
1245 | end | |
1246 | for i = 1, 30 do | |
1247 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.01,.0,.01) | |
1248 | wait() | |
1249 | end | |
1250 | for i = 1, 8 do | |
1251 | meld.C0 = meld.C0 - Vector3.new(0,0,.0095) | |
1252 | wait() | |
1253 | end | |
1254 | for i = 1, 8 do | |
1255 | teld.C0 = teld.C0 - Vector3.new(.05,0,0) | |
1256 | wait() | |
1257 | end | |
1258 | end | |
1259 | ||
1260 | ||
1261 | ||
1262 | function Spin() | |
1263 | for i = 1, 30 do | |
1264 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(1,0,1) | |
1265 | Middle.Transparency = Middle.Transparency + .015 | |
1266 | wait() | |
1267 | end | |
1268 | for i = 1, 90 do | |
1269 | meld.C0 = meld.C0 - Vector3.new(0,.11,0) | |
1270 | wait() | |
1271 | end | |
1272 | meld.C0 = CFrame.new(0,1.3,-0) | |
1273 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
1274 | Middle.Transparency = 0 | |
1275 | end | |
1276 | ||
1277 | function Suicide() | |
1278 | ef2 = Instance.new("BodyVelocity") | |
1279 | ef2.Parent = Torso | |
1280 | ef2.maxForce = Vector3.new(0,math.huge,0) | |
1281 | ef2.velocity = Vector3.new(0, 50, 0) | |
1282 | Character.Humanoid.PlatformStand = true | |
1283 | wait(1) | |
1284 | --Sound.SoundId = "http://www.roblox.com/asset/?id=2101148" | |
1285 | --Sound.Pitch = 1 | |
1286 | for i = 1, 3 do | |
1287 | e = Instance.new("Explosion") | |
1288 | e.Parent = Workspace | |
1289 | e.Position = Torso.Position | |
1290 | e.BlastRadius = 30 | |
1291 | e.BlastPressure = 10000 | |
1292 | --Sound:play() | |
1293 | wait(.2) | |
1294 | e = Instance.new("Explosion") | |
1295 | e.Parent = Workspace | |
1296 | e.Position = Head.Position | |
1297 | e.BlastRadius = 30 | |
1298 | e.BlastPressure = 1000 | |
1299 | --Sound:play() | |
1300 | wait(.2) | |
1301 | e = Instance.new("Explosion") | |
1302 | e.Parent = Workspace | |
1303 | e.Position = RightArm.Position | |
1304 | e.BlastRadius = 30 | |
1305 | e.BlastPressure = 1000 | |
1306 | --Sound:play() | |
1307 | wait(.2) | |
1308 | e = Instance.new("Explosion") | |
1309 | e.Parent = Workspace | |
1310 | e.Position = LeftArm.Position | |
1311 | e.BlastRadius = 30 | |
1312 | e.BlastPressure = 1000 | |
1313 | --Sound:play() | |
1314 | wait(.2) | |
1315 | e = Instance.new("Explosion") | |
1316 | e.Parent = Workspace | |
1317 | e.Position = LeftLeg.Position | |
1318 | e.BlastRadius = 30 | |
1319 | e.BlastPressure = 1000 | |
1320 | --Sound:play() | |
1321 | wait(.2) | |
1322 | e = Instance.new("Explosion") | |
1323 | e.Parent = Workspace | |
1324 | e.Position = RightLeg.Position | |
1325 | e.BlastRadius = 1000 | |
1326 | e.BlastPressure = 1000 | |
1327 | --Sound:play() | |
1328 | wait(.2) | |
1329 | end | |
1330 | end | |
1331 | ||
1332 | function Change() | |
1333 | for i = 1, 100 do | |
1334 | meld.C0 = meld.C0 + Vector3.new(0,.5,0) | |
1335 | wait() | |
1336 | end | |
1337 | for i = 1, 200 do | |
1338 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(1,0,1) | |
1339 | wait() | |
1340 | end | |
1341 | for i = 1, 50 do | |
1342 | meld.C0 = meld.C0 - Vector3.new(0,2,0) | |
1343 | Stuff = Workspace:GetChildren() | |
1344 | for i = 1 , #Stuff do | |
1345 | Torsoo = Stuff[i]:findFirstChild("Torso") | |
1346 | if Torsoo ~= nil then | |
1347 | if (Torsoo.Position-Torsoo.Position).magnitude <= (10) then | |
1348 | if Torsoo.Parent.Name ~= Names then | |
1349 | Humanoid = Torsoo.Parent:findFirstChild("Humanoid") | |
1350 | if Humanoid ~= nil then | |
1351 | Humanoid.MaxHealth = 100 | |
1352 | Humanoid:TakeDamage(1) | |
1353 | Humanoid.Sit = true | |
1354 | Torsoo.CFrame =Torsoo.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) | |
1355 | end | |
1356 | end | |
1357 | end | |
1358 | end | |
1359 | end | |
1360 | wait() | |
1361 | end | |
1362 | meld.C0 = CFrame.new(0,1.3,-0) | |
1363 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
1364 | Middle.Transparency = 0 | |
1365 | end | |
1366 | ||
1367 | function Clean() | |
1368 | stuff = game.Workspace:GetChildren() | |
1369 | for i = 1 , #stuff do | |
1370 | if stuff[i].className ~= "Script" then | |
1371 | if game.Players:GetPlayerFromCharacter(stuff[i]) == nil then | |
1372 | stuff[i]:Remove() | |
1373 | end | |
1374 | end | |
1375 | end | |
1376 | p = Instance.new("Part") | |
1377 | p.Parent = game.Workspace | |
1378 | p.Name = "Base" | |
1379 | p.Anchored = true | |
1380 | p.BottomSurface = "Smooth" | |
1381 | p.BrickColor = BrickColor.new (28) | |
1382 | p.Size = Vector3.new(512, 1, 512) | |
1383 | p.CFrame = CFrame.new(Vector3.new(0, 0, 0)) | |
1384 | ||
1385 | game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100) | |
1386 | game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) | |
1387 | game.Lighting.Ambient = Color3.new(2, 2, 2) | |
1388 | game.Lighting.Brightness = 1 | |
1389 | game.Lighting.TimeOfDay = "12:00:00" | |
1390 | end | |
1391 | ||
1392 | function ResetHat() | |
1393 | for i = 1, 20 do | |
1394 | Top.Transparency = Top.Transparency + .05 | |
1395 | Bottom.Transparency = Bottom.Transparency + .05 | |
1396 | Middle.Transparency = Middle.Transparency + .05 | |
1397 | wait() | |
1398 | end | |
1399 | meld.C0 = CFrame.new(0,1.3,-0) | |
1400 | MiddleMesh.Scale=Vector3.new(1.01,.1,1.01) | |
1401 | beld.C0 = CFrame.new(0,.5,-0) | |
1402 | BottomMesh.Scale=Vector3.new(1.5,.1,1.5) | |
1403 | teld.C0 = CFrame.new(0,1,-0) | |
1404 | TopMesh.Scale=Vector3.new(1,1.2,1) | |
1405 | wait(1) | |
1406 | for i = 1, 20 do | |
1407 | Top.Transparency = Top.Transparency - .05 | |
1408 | Bottom.Transparency = Bottom.Transparency - .05 | |
1409 | Middle.Transparency = Middle.Transparency - .05 | |
1410 | wait() | |
1411 | end | |
1412 | end | |
1413 | ||
1414 | ||
1415 | gm = Instance.new("GuiMain") | |
1416 | gm.Parent = Player.PlayerGui | |
1417 | gm.Name = "GUI-Main" | |
1418 | Frame = Instance.new("Frame",gm) | |
1419 | Frame.Size = UDim2.new(0,310,0,300) | |
1420 | Frame.Position = UDim2.new(0,780,0,20) | |
1421 | Frame.BackgroundTransparency = .5 | |
1422 | Frame.BackgroundColor3 = Color3.new(50,50,50) | |
1423 | Frame.BorderColor3 = Color3.new(0,0,0) | |
1424 | Prev = Instance.new("TextButton",Frame) | |
1425 | Prev.Position = UDim2.new(0,0,0,285) | |
1426 | Prev.Size = UDim2.new(0,70,0,15) | |
1427 | Prev.Text = "Page 1" | |
1428 | Prev.BackgroundTransparency = .5 | |
1429 | Prev.TextTransparency = .1 | |
1430 | Prev.BackgroundColor3 = Color3.new(100,255,255) | |
1431 | Prev.BorderColor3 = Color3.new(50,255,255) | |
1432 | function onClick() | |
1433 | Page(1,gm) | |
1434 | end | |
1435 | Prev.MouseButton1Click:connect(onClick) | |
1436 | Next = Instance.new("TextButton",Frame) | |
1437 | Next.Position = UDim2.new(0,240,0,285) | |
1438 | Next.Size = UDim2.new(0,70,0,15) | |
1439 | Next.Text = "Page 2" | |
1440 | Next.BackgroundTransparency = .5 | |
1441 | Next.TextTransparency = .1 | |
1442 | Next.BackgroundColor3 = Color3.new(100,255,255) | |
1443 | Next.BorderColor3 = Color3.new(50,255,255) | |
1444 | function onClick() | |
1445 | Page(2,gm) | |
1446 | end | |
1447 | Next.MouseButton1Click:connect(onClick) | |
1448 | tb = Instance.new("TextButton") | |
1449 | tb.Parent = gm | |
1450 | tb.Size = UDim2.new(0,70,0,30) | |
1451 | tb.Position = UDim2.new(0,900,0,240) | |
1452 | tb.Text = "Helicopter" | |
1453 | tb.BackgroundTransparency = .5 | |
1454 | tb.TextTransparency = .1 | |
1455 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1456 | tb.BorderColor3 = Color3.new(50,255,255) | |
1457 | function click() | |
1458 | ShieldOn() | |
1459 | --[[if Sh ~= true then | |
1460 | ShieldOff() | |
1461 | end]] | |
1462 | wait(15) | |
1463 | ShieldOff() | |
1464 | end | |
1465 | tb.MouseButton1Click:connect(click) | |
1466 | tb = Instance.new("TextButton") | |
1467 | tb.Parent = gm | |
1468 | tb.Size = UDim2.new(0,70,0,30) | |
1469 | tb.Position = UDim2.new(0,1000,0,240) | |
1470 | tb.Text = "Heal" | |
1471 | tb.BackgroundTransparency = .5 | |
1472 | tb.TextTransparency = .1 | |
1473 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1474 | tb.BorderColor3 = Color3.new(50,255,255) | |
1475 | function click() | |
1476 | Heal() | |
1477 | end | |
1478 | tb.MouseButton1Click:connect(click) | |
1479 | tb = Instance.new("TextButton") | |
1480 | tb.Parent = gm | |
1481 | tb.Size = UDim2.new(0,70,0,30) | |
1482 | tb.Position = UDim2.new(0,1000,0,200) | |
1483 | tb.Text = "Harm" | |
1484 | tb.BackgroundTransparency = .5 | |
1485 | tb.TextTransparency = .1 | |
1486 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1487 | tb.BorderColor3 = Color3.new(50,255,255) | |
1488 | function click() | |
1489 | Harm() | |
1490 | end | |
1491 | tb.MouseButton1Click:connect(click) | |
1492 | tb = Instance.new("TextButton") | |
1493 | tb.Parent = gm | |
1494 | tb.Size = UDim2.new(0,70,0,30) | |
1495 | tb.Position = UDim2.new(0,800,0,240) | |
1496 | tb.Text = "TeleUp" | |
1497 | tb.BackgroundTransparency = .5 | |
1498 | tb.TextTransparency = .1 | |
1499 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1500 | tb.BorderColor3 = Color3.new(50,255,255) | |
1501 | function click() | |
1502 | Free() | |
1503 | end | |
1504 | tb.MouseButton1Click:connect(click) | |
1505 | tb = Instance.new("TextButton") | |
1506 | tb.Parent = gm | |
1507 | tb.Size = UDim2.new(0,70,0,30) | |
1508 | tb.Position = UDim2.new(0,800,0,200) | |
1509 | tb.Text = "Spin" | |
1510 | tb.BackgroundTransparency = .5 | |
1511 | tb.TextTransparency = .1 | |
1512 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1513 | tb.BorderColor3 = Color3.new(50,255,255) | |
1514 | function click() | |
1515 | Spin() | |
1516 | end | |
1517 | tb.MouseButton1Click:connect(click) | |
1518 | tb = Instance.new("TextButton") | |
1519 | tb.Parent = gm | |
1520 | tb.Size = UDim2.new(0,70,0,30) | |
1521 | tb.Position = UDim2.new(0,800,0,160) | |
1522 | tb.Text = "KillSelf" | |
1523 | tb.BackgroundTransparency = .5 | |
1524 | tb.TextTransparency = .1 | |
1525 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1526 | tb.BorderColor3 = Color3.new(50,255,255) | |
1527 | function click() | |
1528 | Suicide() | |
1529 | end | |
1530 | tb.MouseButton1Click:connect(click) | |
1531 | tb = Instance.new("TextButton") | |
1532 | tb.Parent = gm | |
1533 | tb.Size = UDim2.new(0,70,0,30) | |
1534 | tb.Position = UDim2.new(0,800,0,120) | |
1535 | tb.Text = "Darkness" | |
1536 | tb.BackgroundTransparency = .5 | |
1537 | tb.TextTransparency = .1 | |
1538 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1539 | tb.BorderColor3 = Color3.new(50,255,255) | |
1540 | function click() | |
1541 | Change() | |
1542 | end | |
1543 | tb.MouseButton1Click:connect(click) | |
1544 | tb = Instance.new("TextButton") | |
1545 | tb.Parent = gm | |
1546 | tb.Size = UDim2.new(0,70,0,30) | |
1547 | tb.Position = UDim2.new(0,800,0,80) | |
1548 | tb.Text = "Clean" | |
1549 | tb.BackgroundTransparency = .5 | |
1550 | tb.TextTransparency = .1 | |
1551 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1552 | tb.BorderColor3 = Color3.new(50,255,255) | |
1553 | function click() | |
1554 | Clean() | |
1555 | end | |
1556 | tb.MouseButton1Click:connect(click) | |
1557 | tb = Instance.new("TextButton") | |
1558 | tb.Parent = gm | |
1559 | tb.Size = UDim2.new(0,70,0,30) | |
1560 | tb.Position = UDim2.new(0,800,0,40) | |
1561 | tb.Text = "Rampage" | |
1562 | tb.BackgroundTransparency = .5 | |
1563 | tb.TextTransparency = .1 | |
1564 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1565 | tb.BorderColor3 = Color3.new(50,255,255) | |
1566 | function click() | |
1567 | Rampage() | |
1568 | end | |
1569 | tb.MouseButton1Click:connect(click) | |
1570 | tb = Instance.new("TextButton") | |
1571 | tb.Parent = gm | |
1572 | tb.Size = UDim2.new(0,70,0,30) | |
1573 | tb.Position = UDim2.new(0,1000,0,160) | |
1574 | tb.Text = "Umbrella" | |
1575 | tb.BackgroundTransparency = .5 | |
1576 | tb.TextTransparency = .1 | |
1577 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1578 | tb.BorderColor3 = Color3.new(50,255,255) | |
1579 | function click() | |
1580 | Umbrella() | |
1581 | end | |
1582 | tb.MouseButton1Click:connect(click) | |
1583 | tb = Instance.new("TextButton") | |
1584 | tb.Parent = gm | |
1585 | tb.Size = UDim2.new(0,70,0,30) | |
1586 | tb.Position = UDim2.new(0,1000,0,120) | |
1587 | tb.Text = "No-Umbrella" | |
1588 | tb.BackgroundTransparency = .5 | |
1589 | tb.TextTransparency = .1 | |
1590 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1591 | tb.BorderColor3 = Color3.new(50,255,255) | |
1592 | function click() | |
1593 | Normal() | |
1594 | end | |
1595 | tb.MouseButton1Click:connect(click) | |
1596 | tb = Instance.new("TextButton") | |
1597 | tb.Parent = gm | |
1598 | tb.Size = UDim2.new(0,70,0,30) | |
1599 | tb.Position = UDim2.new(0,1000,0,80) | |
1600 | tb.Text = "Helmet" | |
1601 | tb.BackgroundTransparency = .5 | |
1602 | tb.TextTransparency = .1 | |
1603 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1604 | tb.BorderColor3 = Color3.new(50,255,255) | |
1605 | function click() | |
1606 | Helmet() | |
1607 | end | |
1608 | tb.MouseButton1Click:connect(click) | |
1609 | tb = Instance.new("TextButton") | |
1610 | tb.Parent = gm | |
1611 | tb.Size = UDim2.new(0,70,0,30) | |
1612 | tb.Position = UDim2.new(0,1000,0,40) | |
1613 | tb.Text = "No-Helmet" | |
1614 | tb.BackgroundTransparency = .5 | |
1615 | tb.TextTransparency = .1 | |
1616 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1617 | tb.BorderColor3 = Color3.new(50,255,255) | |
1618 | function click() | |
1619 | NoHelmet() | |
1620 | end | |
1621 | tb.MouseButton1Click:connect(click) | |
1622 | tb = Instance.new("TextButton") | |
1623 | tb.Parent = gm | |
1624 | tb.Size = UDim2.new(0,70,0,30) | |
1625 | tb.Position = UDim2.new(0,900,0,40) | |
1626 | tb.Text = "Cool-Hat" | |
1627 | tb.BackgroundTransparency = .5 | |
1628 | tb.TextTransparency = .1 | |
1629 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1630 | tb.BorderColor3 = Color3.new(50,255,255) | |
1631 | function click() | |
1632 | CoolHat() | |
1633 | end | |
1634 | tb.MouseButton1Click:connect(click) | |
1635 | tb = Instance.new("TextButton") | |
1636 | tb.Parent = gm | |
1637 | tb.Size = UDim2.new(0,70,0,30) | |
1638 | tb.Position = UDim2.new(0,900,0,80) | |
1639 | tb.Text = "No-Cool-Hat" | |
1640 | tb.BackgroundTransparency = .5 | |
1641 | tb.TextTransparency = .1 | |
1642 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1643 | tb.BorderColor3 = Color3.new(50,255,255) | |
1644 | function click() | |
1645 | NoCoolHat() | |
1646 | end | |
1647 | tb.MouseButton1Click:connect(click) | |
1648 | tb = Instance.new("TextButton") | |
1649 | tb.Parent = gm | |
1650 | tb.Size = UDim2.new(0,70,0,30) | |
1651 | tb.Position = UDim2.new(0,900,0,120) | |
1652 | tb.Text = "Sweatband" | |
1653 | tb.BackgroundTransparency = .5 | |
1654 | tb.TextTransparency = .1 | |
1655 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1656 | tb.BorderColor3 = Color3.new(50,255,255) | |
1657 | function click() | |
1658 | SweatBand() | |
1659 | end | |
1660 | tb.MouseButton1Click:connect(click) | |
1661 | tb = Instance.new("TextButton") | |
1662 | tb.Parent = gm | |
1663 | tb.Size = UDim2.new(0,70,0,30) | |
1664 | tb.Position = UDim2.new(0,900,0,160) | |
1665 | tb.Text = "No-Sweatband" | |
1666 | tb.BackgroundTransparency = .5 | |
1667 | tb.TextTransparency = .1 | |
1668 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1669 | tb.BorderColor3 = Color3.new(50,255,255) | |
1670 | function click() | |
1671 | NoSweatBand() | |
1672 | end | |
1673 | tb.MouseButton1Click:connect(click) | |
1674 | tb = Instance.new("TextButton") | |
1675 | tb.Parent = gm | |
1676 | tb.Size = UDim2.new(0,70,0,30) | |
1677 | tb.Position = UDim2.new(0,900,0,200) | |
1678 | tb.Text = "Reset Hat" | |
1679 | tb.BackgroundTransparency = .5 | |
1680 | tb.TextTransparency = .1 | |
1681 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
1682 | tb.BorderColor3 = Color3.new(50,255,255) | |
1683 | function click() | |
1684 | ResetHat() | |
1685 | end | |
1686 | tb.MouseButton1Click:connect(click) | |
1687 | ||
1688 | ||
1689 | Vip = Player | |
1690 | function onChatted(msg) | |
1691 | if Radio == true then | |
1692 | if msg == "FOR ALLAH!" then | |
1693 | Humanoid.WalkSpeed = 24 | |
1694 | for i = 1, 5 do | |
1695 | Middle.BrickColor = BrickColor.new("Really red") | |
1696 | wait(1) | |
1697 | Middle.BrickColor = BrickColor.new("Really red") | |
1698 | wait(1) | |
1699 | end | |
1700 | p = Instance.new("Part") | |
1701 | p.Parent = Torso | |
1702 | p.CFrame = Torso.CFrame | |
1703 | p.Anchored = true | |
1704 | p.Size = Vector3.new(1,1,1) | |
1705 | p.BrickColor = BrickColor.new("Bright yellow") | |
1706 | p.FormFactor = "Symmetric" | |
1707 | pm = Instance.new("SpecialMesh") | |
1708 | pm.Parent = p | |
1709 | pm.MeshType = "Sphere" | |
1710 | e = Instance.new("Explosion") | |
1711 | e.Parent = Torso | |
1712 | e.BlastRadius = 8 | |
1713 | e.Position = Torso.Position | |
1714 | for i = 1, 25 do | |
1715 | pm.Scale = pm.Scale + Vector3.new(.5,.5,.5) | |
1716 | p.Transparency = p.Transparency + .04 | |
1717 | wait() | |
1718 | end | |
1719 | end | |
1720 | end | |
1721 | end | |
1722 | Vip.Chatted:connect(onChatted) | |
1723 | ||
1724 | function onChatted(msg) | |
1725 | if Healing == true then | |
1726 | if msg == "Activate" then | |
1727 | for i = 1, 10 do | |
1728 | Middle.Transparency = 0 | |
1729 | MiddleMesh.Scale = Vector3.new(.01,.1,.01) | |
1730 | for i = 1, 20 do | |
1731 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.25,0,.25) | |
1732 | Middle.Transparency = Middle.Transparency + .05 | |
1733 | wait() | |
1734 | end | |
1735 | wait(3) | |
1736 | end | |
1737 | end | |
1738 | end | |
1739 | end | |
1740 | Vip.Chatted:connect(onChatted) | |
1741 | -- mediafire |