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 | - | Stuff = Player.Character:GetChildren() |
| 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 | - | if Stuff[i].Name == "Shirt" or Stuff[i].Name == "Pants" or Stuff[i].className == "Hat" then |
| 34 | + | Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false) |
| 35 | - | Stuff[i]:Remove() |
| 35 | + | end |
| 36 | - | 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 | ||
| 336 | ||
| 337 | ||
| 338 | Bottom = Instance.new("Part")
| |
| 339 | Bottom.Parent = Character | |
| 340 | Bottom.Size = Vector3.new(1,1,1) | |
| 341 | Bottom.TopSurface = "Smooth" | |
| 342 | Bottom.BottomSurface = "Smooth" | |
| 343 | Bottom.CanCollide = false | |
| 344 | Bottom.Reflectance = .1 | |
| 345 | Bottom.FormFactor = "Symmetric" | |
| 346 | Bottom.BrickColor = BrickColor.new("Black")
| |
| 347 | BottomMesh=Instance.new("CylinderMesh")
| |
| 348 | BottomMesh.Scale=Vector3.new(1.5,.1,1.5) | |
| 349 | --BottomMesh.MeshType = "Head" | |
| 350 | BottomMesh.Parent=Bottom | |
| 351 | Bottom:BreakJoints() | |
| 352 | beld = Instance.new("Weld")
| |
| 353 | beld.Parent = Head | |
| 354 | beld.Part0 = Head | |
| 355 | beld.Part1 = Bottom | |
| 356 | beld.C0 = CFrame.new(0,.5,-0) | |
| 357 | Top = Instance.new("Part")
| |
| 358 | Top.Parent = Character | |
| 359 | Top.Size = Vector3.new(1,1,1) | |
| 360 | Top.TopSurface = "Smooth" | |
| 361 | Top.BottomSurface = "Smooth" | |
| 362 | Top.CanCollide = false | |
| 363 | Top.Reflectance = .1 | |
| 364 | Top.FormFactor = "Symmetric" | |
| 365 | Top.BrickColor = BrickColor.new("Black")
| |
| 366 | TopMesh=Instance.new("CylinderMesh")
| |
| 367 | TopMesh.Scale=Vector3.new(1,1.2,1) | |
| 368 | --TopMesh.MeshType = "Head" | |
| 369 | TopMesh.Parent=Top | |
| 370 | Top:BreakJoints() | |
| 371 | teld = Instance.new("Weld")
| |
| 372 | teld.Parent = Head | |
| 373 | teld.Part0 = Head | |
| 374 | teld.Part1 = Top | |
| 375 | teld.C0 = CFrame.new(0,1,-0) | |
| 376 | ||
| 377 | Middle = Instance.new("Part")
| |
| 378 | Middle.Parent = Character | |
| 379 | Middle.Size = Vector3.new(1,1,1) | |
| 380 | Middle.TopSurface = "Smooth" | |
| 381 | Middle.BottomSurface = "Smooth" | |
| 382 | Middle.CanCollide = false | |
| 383 | Middle.Reflectance = .1 | |
| 384 | Middle.FormFactor = "Symmetric" | |
| 385 | Middle.BrickColor = BrickColor.new("Really red")
| |
| 386 | MiddleMesh=Instance.new("CylinderMesh")
| |
| 387 | MiddleMesh.Scale=Vector3.new(1.01,.1,1.01) | |
| 388 | --MiddleMesh.MeshType = "Head" | |
| 389 | MiddleMesh.Parent=Middle | |
| 390 | Middle:BreakJoints() | |
| 391 | meld = Instance.new("Weld")
| |
| 392 | meld.Parent = Head | |
| 393 | meld.Part0 = Head | |
| 394 | meld.Part1 = Middle | |
| 395 | meld.C0 = CFrame.new(0,1.3,-0) | |
| 396 | ||
| 397 | ||
| 398 | function Page(Num,gm) | |
| 399 | if Num == 1 then | |
| 400 | for _,v in pairs (gm:GetChildren()) do | |
| 401 | if v.Name == "Pg2" then | |
| 402 | v:Remove() | |
| 403 | else | |
| 404 | v.Visible = true | |
| 405 | end | |
| 406 | end | |
| 407 | elseif Num == 2 then | |
| 408 | for _,v in pairs (gm:GetChildren()) do | |
| 409 | if v.Name ~= "Pg2" then | |
| 410 | if v.className == "TextButton" then | |
| 411 | v.Visible = false | |
| 412 | end | |
| 413 | end | |
| 414 | end | |
| 415 | tb = Instance.new("TextButton")
| |
| 416 | tb.Parent = gm | |
| 417 | tb.Size = UDim2.new(0,70,0,30) | |
| 418 | tb.Position = UDim2.new(0,800,0,40) | |
| 419 | tb.Text = "Sun Hat" | |
| 420 | tb.BackgroundTransparency = .5 | |
| 421 | tb.TextTransparency = .1 | |
| 422 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 423 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 424 | tb.Name = "Pg2" | |
| 425 | function click() | |
| 426 | SunHat() | |
| 427 | end | |
| 428 | tb.MouseButton1Click:connect(click) | |
| 429 | tb = Instance.new("TextButton")
| |
| 430 | tb.Parent = gm | |
| 431 | tb.Size = UDim2.new(0,70,0,30) | |
| 432 | tb.Position = UDim2.new(0,800,0,80) | |
| 433 | tb.Text = "No Sun Hat" | |
| 434 | tb.BackgroundTransparency = .5 | |
| 435 | tb.TextTransparency = .1 | |
| 436 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 437 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 438 | tb.Name = "Pg2" | |
| 439 | function click() | |
| 440 | NoSunHat() | |
| 441 | end | |
| 442 | tb.MouseButton1Click:connect(click) | |
| 443 | tb = Instance.new("TextButton")
| |
| 444 | tb.Parent = gm | |
| 445 | tb.Size = UDim2.new(0,70,0,30) | |
| 446 | tb.Position = UDim2.new(0,800,0,120) | |
| 447 | tb.Text = "Radio" | |
| 448 | tb.BackgroundTransparency = .5 | |
| 449 | tb.TextTransparency = .1 | |
| 450 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 451 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 452 | tb.Name = "Pg2" | |
| 453 | function click() | |
| 454 | Radio() | |
| 455 | Radio = true | |
| 456 | end | |
| 457 | tb.MouseButton1Click:connect(click) | |
| 458 | tb = Instance.new("TextButton")
| |
| 459 | tb.Parent = gm | |
| 460 | tb.Size = UDim2.new(0,70,0,30) | |
| 461 | tb.Position = UDim2.new(0,800,0,160) | |
| 462 | tb.Text = "No Radio" | |
| 463 | tb.BackgroundTransparency = .5 | |
| 464 | tb.TextTransparency = .1 | |
| 465 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 466 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 467 | tb.Name = "Pg2" | |
| 468 | function click() | |
| 469 | Radio = false | |
| 470 | NoRadio() | |
| 471 | end | |
| 472 | tb.MouseButton1Click:connect(click) | |
| 473 | tb = Instance.new("TextButton")
| |
| 474 | tb.Parent = gm | |
| 475 | tb.Size = UDim2.new(0,70,0,30) | |
| 476 | tb.Position = UDim2.new(0,800,0,200) | |
| 477 | tb.Text = "Healer" | |
| 478 | tb.BackgroundTransparency = .5 | |
| 479 | tb.TextTransparency = .1 | |
| 480 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 481 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 482 | tb.Name = "Pg2" | |
| 483 | function click() | |
| 484 | Something() | |
| 485 | Healing = true | |
| 486 | end | |
| 487 | tb.MouseButton1Click:connect(click) | |
| 488 | tb = Instance.new("TextButton")
| |
| 489 | tb.Parent = gm | |
| 490 | tb.Size = UDim2.new(0,70,0,30) | |
| 491 | tb.Position = UDim2.new(0,800,0,240) | |
| 492 | tb.Text = "No Healer" | |
| 493 | tb.BackgroundTransparency = .5 | |
| 494 | tb.TextTransparency = .1 | |
| 495 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 496 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 497 | tb.Name = "Pg2" | |
| 498 | function click() | |
| 499 | NoHealer() | |
| 500 | Healing = false | |
| 501 | end | |
| 502 | tb.MouseButton1Click:connect(click) | |
| 503 | tb = Instance.new("TextButton")
| |
| 504 | tb.Parent = gm | |
| 505 | tb.Size = UDim2.new(0,70,0,30) | |
| 506 | tb.Position = UDim2.new(0,880,0,40) | |
| 507 | tb.Text = "Lemme alone!!" | |
| 508 | tb.BackgroundTransparency = .5 | |
| 509 | tb.TextTransparency = .1 | |
| 510 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 511 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 512 | tb.Name = "Pg2" | |
| 513 | function click() | |
| 514 | LeaveMeAlone() | |
| 515 | end | |
| 516 | tb.MouseButton1Click:connect(click) | |
| 517 | tb = Instance.new("TextButton")
| |
| 518 | tb.Parent = gm | |
| 519 | tb.Size = UDim2.new(0,70,0,30) | |
| 520 | tb.Position = UDim2.new(0,880,0,80) | |
| 521 | tb.Text = "I'm cool now" | |
| 522 | tb.BackgroundTransparency = .5 | |
| 523 | tb.TextTransparency = .1 | |
| 524 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 525 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 526 | tb.Name = "Pg2" | |
| 527 | function click() | |
| 528 | ImCoolNow() | |
| 529 | end | |
| 530 | tb.MouseButton1Click:connect(click) | |
| 531 | end | |
| 532 | end | |
| 533 | ||
| 534 | function Heal() | |
| 535 | for i = 1, 40 do | |
| 536 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.1,0,.1) | |
| 537 | wait() | |
| 538 | end | |
| 539 | for i = 1, 60 do | |
| 540 | Humanoid.Health = Humanoid.Health + 2 | |
| 541 | Middle.Transparency = Middle.Transparency + 0.02 | |
| 542 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(0,.4,0) | |
| 543 | wait() | |
| 544 | end | |
| 545 | Middle.Transparency = 0 | |
| 546 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
| 547 | end | |
| 548 | ||
| 549 | function Harm() | |
| 550 | Middle.BrickColor = BrickColor.new("Really red")
| |
| 551 | for i = 1, 40 do | |
| 552 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.1,0,.1) | |
| 553 | wait() | |
| 554 | end | |
| 555 | for i = 1, 60 do | |
| 556 | Humanoid.Health = Humanoid.Health - 1 | |
| 557 | Middle.Transparency = Middle.Transparency + 0.02 | |
| 558 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(0,.4,0) | |
| 559 | wait() | |
| 560 | end | |
| 561 | Middle.Transparency = 0 | |
| 562 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
| 563 | Middle.BrickColor = BrickColor.new("Really red")
| |
| 564 | end | |
| 565 | ||
| 566 | ||
| 567 | ||
| 568 | ||
| 569 | function ShieldOn() | |
| 570 | Billy = Instance.new("BodyPosition")
| |
| 571 | Billy.Name = "JoeMama" | |
| 572 | Billy.Parent = Head | |
| 573 | Billy.position = Head.Position | |
| 574 | Billy.maxForce = Vector3.new(0, math.huge, 0) | |
| 575 | Middle.Transparency = .5 | |
| 576 | Character.Humanoid.WalkSpeed = 32 | |
| 577 | for i = 1, 30 do | |
| 578 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.1,0,.1) | |
| 579 | wait() | |
| 580 | end | |
| 581 | for i = 1, 10 do | |
| 582 | wait() | |
| 583 | Billy.position = Billy.position + Vector3.new(0,1,0) | |
| 584 | end | |
| 585 | Sh = true | |
| 586 | end | |
| 587 | ||
| 588 | function ShieldOff() | |
| 589 | Sh = false | |
| 590 | for i = 1, 30 do | |
| 591 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.1,0,.1) | |
| 592 | wait() | |
| 593 | Middle.Transparency = 0 | |
| 594 | Character.Humanoid.WalkSpeed = 16 | |
| 595 | end | |
| 596 | Billy:remove() | |
| 597 | end | |
| 598 | ||
| 599 | function Free() | |
| 600 | for i = 1, 10 do | |
| 601 | Torso.Transparency = Torso.Transparency + .1 | |
| 602 | Head.Transparency = Head.Transparency + .1 | |
| 603 | RightArm.Transparency = RightArm.Transparency + .1 | |
| 604 | LeftArm.Transparency = LeftArm.Transparency + .1 | |
| 605 | LeftLeg.Transparency = LeftLeg.Transparency + .1 | |
| 606 | RightLeg.Transparency =RightLeg.Transparency + .1 | |
| 607 | Top.Transparency = Top.Transparency + .1 | |
| 608 | Middle.Transparency = Middle.Transparency + .1 | |
| 609 | Bottom.Transparency = Bottom.Transparency + .1 | |
| 610 | wait() | |
| 611 | end | |
| 612 | Torso.CFrame = Torso.CFrame + Vector3.new(0,10,0) | |
| 613 | Torso.Anchored = true | |
| 614 | for i = 1, 10 do | |
| 615 | Torso.Transparency = Torso.Transparency - .1 | |
| 616 | Head.Transparency = Head.Transparency - .1 | |
| 617 | RightArm.Transparency = RightArm.Transparency - .1 | |
| 618 | LeftArm.Transparency = LeftArm.Transparency - .1 | |
| 619 | LeftLeg.Transparency = LeftLeg.Transparency - .1 | |
| 620 | RightLeg.Transparency =RightLeg.Transparency - .1 | |
| 621 | Top.Transparency = Top.Transparency - .1 | |
| 622 | Middle.Transparency = Middle.Transparency - .1 | |
| 623 | Bottom.Transparency = Bottom.Transparency - .1 | |
| 624 | wait() | |
| 625 | end | |
| 626 | Torso.Anchored = false | |
| 627 | end | |
| 628 | ||
| 629 | --[[function TeleForward() | |
| 630 | for i = 1, 10 do | |
| 631 | Torso.Transparency = Torso.Transparency + .1 | |
| 632 | Head.Transparency = Head.Transparency + .1 | |
| 633 | RightArm.Transparency = RightArm.Transparency + .1 | |
| 634 | LeftArm.Transparency = LeftArm.Transparency + .1 | |
| 635 | LeftLeg.Transparency = LeftLeg.Transparency + .1 | |
| 636 | RightLeg.Transparency =RightLeg.Transparency + .1 | |
| 637 | Top.Transparency = Top.Transparency + .1 | |
| 638 | Middle.Transparency = Middle.Transparency + .1 | |
| 639 | Bottom.Transparency = Bottom.Transparency + .1 | |
| 640 | wait() | |
| 641 | end | |
| 642 | Torso.CFrame.LookVector = Torso.CFrame.LookVector * 10 | |
| 643 | for i = 1, 10 do | |
| 644 | Torso.Transparency = Torso.Transparency - .1 | |
| 645 | Head.Transparency = Head.Transparency - .1 | |
| 646 | RightArm.Transparency = RightArm.Transparency - .1 | |
| 647 | LeftArm.Transparency = LeftArm.Transparency - .1 | |
| 648 | LeftLeg.Transparency = LeftLeg.Transparency - .1 | |
| 649 | RightLeg.Transparency =RightLeg.Transparency - .1 | |
| 650 | Top.Transparency = Top.Transparency - .1 | |
| 651 | Middle.Transparency = Middle.Transparency - .1 | |
| 652 | Bottom.Transparency = Bottom.Transparency - .1 | |
| 653 | wait() | |
| 654 | end | |
| 655 | end]]-- | |
| 656 | ||
| 657 | function Rampage() | |
| 658 | pp = Instance.new("Part")
| |
| 659 | pp.Parent = Torso | |
| 660 | pp.CFrame = Torso.CFrame | |
| 661 | pp.Transparency = 1 | |
| 662 | pp.BrickColor = BrickColor.new("Bright yellow")
| |
| 663 | pp.Size = Vector3.new(10,10,10) | |
| 664 | pp.FormFactor = "Symmetric" | |
| 665 | --pp.CanCollide = false | |
| 666 | peld = Instance.new("Weld")
| |
| 667 | peld.Parent = Torso | |
| 668 | peld.Part0 = Middle | |
| 669 | peld.Part1 = pp | |
| 670 | peld.C0 = CFrame.new(0,-2.7,0) | |
| 671 | pm = Instance.new("SpecialMesh")
| |
| 672 | pm.Parent = pp | |
| 673 | pm.MeshType = "Sphere" | |
| 674 | for i = 1, 10 do | |
| 675 | Torso.Reflectance = Torso.Reflectance + .1 | |
| 676 | Head.Reflectance = Head.Reflectance + .1 | |
| 677 | RightArm.Reflectance = RightArm.Reflectance + .1 | |
| 678 | LeftArm.Reflectance = LeftArm.Reflectance + .1 | |
| 679 | LeftLeg.Reflectance = LeftLeg.Reflectance + .1 | |
| 680 | RightLeg.Reflectance =RightLeg.Reflectance + .1 | |
| 681 | Top.Reflectance = Top.Reflectance + .1 | |
| 682 | Middle.Reflectance = Middle.Reflectance + .1 | |
| 683 | Bottom.Reflectance = Bottom.Reflectance + .1 | |
| 684 | pp.Transparency = pp.Transparency - .05 | |
| 685 | wait() | |
| 686 | end | |
| 687 | function OnTouched(food) | |
| 688 | if food.Name ~= "Base" then | |
| 689 | food:remove() | |
| 690 | end | |
| 691 | end | |
| 692 | pp.Touched:connect(OnTouched) | |
| 693 | Humanoid.WalkSpeed = 80 | |
| 694 | wait(15) | |
| 695 | for i = 1, 10 do | |
| 696 | Torso.Reflectance = Torso.Reflectance - .1 | |
| 697 | Head.Reflectance = Head.Reflectance - .1 | |
| 698 | RightArm.Reflectance = RightArm.Reflectance - .1 | |
| 699 | LeftArm.Reflectance = LeftArm.Reflectance - .1 | |
| 700 | LeftLeg.Reflectance = LeftLeg.Reflectance - .1 | |
| 701 | RightLeg.Reflectance =RightLeg.Reflectance - .1 | |
| 702 | Top.Reflectance = Top.Reflectance - .1 | |
| 703 | Middle.Reflectance = Middle.Reflectance - .1 | |
| 704 | Bottom.Reflectance = Bottom.Reflectance - .1 | |
| 705 | pp.Transparency = pp.Transparency + .1 | |
| 706 | wait() | |
| 707 | end | |
| 708 | pp:remove() | |
| 709 | Humanoid.WalkSpeed = 16 | |
| 710 | end | |
| 711 | ||
| 712 | function Something() | |
| 713 | for i = 1, 20 do | |
| 714 | Middle.Transparency = Middle.Transparency + .05 | |
| 715 | wait() | |
| 716 | end | |
| 717 | --MiddleMesh.MeshType = "Sphere" | |
| 718 | for i = 1, 20 do | |
| 719 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.04,0,.04) | |
| 720 | wait() | |
| 721 | end | |
| 722 | for i = 1, 10 do | |
| 723 | teld.C0 = teld.C0 - Vector3.new(.045,0,0) | |
| 724 | wait() | |
| 725 | end | |
| 726 | for i = 1, 20 do | |
| 727 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.065,0,.065) | |
| 728 | wait() | |
| 729 | end | |
| 730 | for i = 1, 10 do | |
| 731 | beld.C0 = beld.C0 + Vector3.new(0,.045,0) | |
| 732 | wait() | |
| 733 | end | |
| 734 | for i = 1, 10 do | |
| 735 | beld.C0 = beld.C0 + Vector3.new(.045,0,0) | |
| 736 | wait() | |
| 737 | end | |
| 738 | for i = 1, 20 do | |
| 739 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.06,0) | |
| 740 | wait() | |
| 741 | end | |
| 742 | for i = 1, 20 do | |
| 743 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.01,0,.01) | |
| 744 | wait() | |
| 745 | end | |
| 746 | for i = 1, 10 do | |
| 747 | meld.C0 = meld.C0 + Vector3.new(0,.035,0) | |
| 748 | wait() | |
| 749 | end | |
| 750 | end | |
| 751 | ||
| 752 | function NoHealer() | |
| 753 | meld.C0 = CFrame.new(0,1.3,-0) | |
| 754 | MiddleMesh.Scale=Vector3.new(1.01,.1,1.01) | |
| 755 | for i = 1, 20 do | |
| 756 | Middle.Transparency = Middle.Transparency - .05 | |
| 757 | wait() | |
| 758 | end | |
| 759 | --MiddleMesh.MeshType = "Sphere" | |
| 760 | for i = 1, 20 do | |
| 761 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.04,0,.04) | |
| 762 | wait() | |
| 763 | end | |
| 764 | for i = 1, 10 do | |
| 765 | teld.C0 = teld.C0 + Vector3.new(.045,0,0) | |
| 766 | wait() | |
| 767 | end | |
| 768 | for i = 1, 20 do | |
| 769 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.065,0,.065) | |
| 770 | wait() | |
| 771 | end | |
| 772 | for i = 1, 10 do | |
| 773 | beld.C0 = beld.C0 - Vector3.new(0,.045,0) | |
| 774 | wait() | |
| 775 | end | |
| 776 | for i = 1, 10 do | |
| 777 | beld.C0 = beld.C0 - Vector3.new(.045,0,0) | |
| 778 | wait() | |
| 779 | end | |
| 780 | for i = 1, 20 do | |
| 781 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.06,0) | |
| 782 | wait() | |
| 783 | end | |
| 784 | end | |
| 785 | ||
| 786 | function LeaveMeAlone() | |
| 787 | for i = 1, 20 do | |
| 788 | beld.C0 = beld.C0 - Vector3.new(0,.125,0) | |
| 789 | wait() | |
| 790 | end | |
| 791 | for i = 1, 20 do | |
| 792 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.15,0,.15) | |
| 793 | wait() | |
| 794 | end | |
| 795 | for i = 1, 20 do | |
| 796 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.275,0) | |
| 797 | wait() | |
| 798 | end | |
| 799 | pp = Instance.new("Part")
| |
| 800 | pp.Parent = Torso | |
| 801 | pp.CFrame = Torso.CFrame | |
| 802 | pp.Transparency = 1 | |
| 803 | pp.BrickColor = BrickColor.new("Bright yellow")
| |
| 804 | pp.Size = Vector3.new(4.5,5,4.5) | |
| 805 | pp.FormFactor = "Symmetric" | |
| 806 | --pp.CanCollide = false | |
| 807 | peld = Instance.new("Weld")
| |
| 808 | peld.Parent = Torso | |
| 809 | peld.Part0 = Head | |
| 810 | peld.Part1 = pp | |
| 811 | peld.C0 = CFrame.new(0,-2.5,0) | |
| 812 | Humanoid.WalkSpeed = 0 | |
| 813 | end | |
| 814 | ||
| 815 | function ImCoolNow() | |
| 816 | for i = 1, 20 do | |
| 817 | beld.C0 = beld.C0 + Vector3.new(0,.125,0) | |
| 818 | wait() | |
| 819 | end | |
| 820 | for i = 1, 20 do | |
| 821 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.15,0,.15) | |
| 822 | wait() | |
| 823 | end | |
| 824 | for i = 1, 20 do | |
| 825 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.275,0) | |
| 826 | wait() | |
| 827 | end | |
| 828 | pp:remove() | |
| 829 | Humanoid.WalkSpeed = 16 | |
| 830 | end | |
| 831 | ||
| 832 | function Radio() | |
| 833 | for i = 1, 20 do | |
| 834 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
| 835 | wait() | |
| 836 | end | |
| 837 | for i = 1, 20 do | |
| 838 | beld.C0 = beld.C0 + Vector3.new(0,0,.08) | |
| 839 | wait() | |
| 840 | end | |
| 841 | for i = 1, 20 do | |
| 842 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
| 843 | wait() | |
| 844 | end | |
| 845 | for i = 1, 20 do | |
| 846 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.05,0,.05) | |
| 847 | wait() | |
| 848 | end | |
| 849 | for i = 1, 20 do | |
| 850 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.175,0) | |
| 851 | wait() | |
| 852 | end | |
| 853 | for i = 1, 20 do | |
| 854 | meld.C0 = meld.C0 + Vector3.new(0,0,.08) | |
| 855 | wait() | |
| 856 | end | |
| 857 | for i = 1, 20 do | |
| 858 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
| 859 | wait() | |
| 860 | end | |
| 861 | for i = 1, 20 do | |
| 862 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.05,0,.05) | |
| 863 | wait() | |
| 864 | end | |
| 865 | for i = 1, 20 do | |
| 866 | teld.C0 = teld.C0 + Vector3.new(0,0,.08) | |
| 867 | wait() | |
| 868 | end | |
| 869 | for i = 1, 20 do | |
| 870 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.043,0,.043) | |
| 871 | wait() | |
| 872 | end | |
| 873 | for i = 1, 20 do | |
| 874 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,.12,0) | |
| 875 | wait() | |
| 876 | end | |
| 877 | for i = 1, 20 do | |
| 878 | teld.C0 = teld.C0 + Vector3.new(.03,0,0) | |
| 879 | wait() | |
| 880 | end | |
| 881 | for i = 1, 20 do | |
| 882 | teld.C0 = teld.C0 + Vector3.new(0,.05,0) | |
| 883 | wait() | |
| 884 | end | |
| 885 | end | |
| 886 | ||
| 887 | function NoRadio() | |
| 888 | for i = 1, 20 do | |
| 889 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
| 890 | wait() | |
| 891 | end | |
| 892 | for i = 1, 20 do | |
| 893 | beld.C0 = beld.C0 - Vector3.new(0,0,.08) | |
| 894 | wait() | |
| 895 | end | |
| 896 | for i = 1, 20 do | |
| 897 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
| 898 | wait() | |
| 899 | end | |
| 900 | for i = 1, 20 do | |
| 901 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.05,0,.05) | |
| 902 | wait() | |
| 903 | end | |
| 904 | for i = 1, 20 do | |
| 905 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.175,0) | |
| 906 | wait() | |
| 907 | end | |
| 908 | for i = 1, 20 do | |
| 909 | meld.C0 = meld.C0 - Vector3.new(0,0,.08) | |
| 910 | wait() | |
| 911 | end | |
| 912 | for i = 1, 20 do | |
| 913 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
| 914 | wait() | |
| 915 | end | |
| 916 | for i = 1, 20 do | |
| 917 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.05,0,.05) | |
| 918 | wait() | |
| 919 | end | |
| 920 | for i = 1, 20 do | |
| 921 | teld.C0 = teld.C0 - Vector3.new(0,0,.08) | |
| 922 | wait() | |
| 923 | end | |
| 924 | for i = 1, 20 do | |
| 925 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.043,0,.043) | |
| 926 | wait() | |
| 927 | end | |
| 928 | for i = 1, 20 do | |
| 929 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,.12,0) | |
| 930 | wait() | |
| 931 | end | |
| 932 | for i = 1, 20 do | |
| 933 | teld.C0 = teld.C0 - Vector3.new(.03,0,0) | |
| 934 | wait() | |
| 935 | end | |
| 936 | for i = 1, 20 do | |
| 937 | teld.C0 = teld.C0 - Vector3.new(0,.05,0) | |
| 938 | wait() | |
| 939 | end | |
| 940 | end | |
| 941 | ||
| 942 | ||
| 943 | function SunHat() | |
| 944 | for i = 1, 12.5 do | |
| 945 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
| 946 | wait() | |
| 947 | end | |
| 948 | for i = 1, 2 do | |
| 949 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
| 950 | wait() | |
| 951 | end | |
| 952 | for i = 1, 15 do | |
| 953 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.25,0,.25) | |
| 954 | wait() | |
| 955 | end | |
| 956 | for i = 1, 10 do | |
| 957 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.25,0,.25) | |
| 958 | wait() | |
| 959 | end | |
| 960 | for i = 1, 22 do | |
| 961 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,0.05,0) | |
| 962 | wait() | |
| 963 | end | |
| 964 | for i = 1, 5 do | |
| 965 | teld.C0 = teld.C0 - Vector3.new(0,.04,0) | |
| 966 | wait() | |
| 967 | end | |
| 968 | end | |
| 969 | ||
| 970 | ||
| 971 | function NoSunHat() | |
| 972 | for i = 1, 12.5 do | |
| 973 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
| 974 | wait() | |
| 975 | end | |
| 976 | for i = 1, 2 do | |
| 977 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
| 978 | wait() | |
| 979 | end | |
| 980 | for i = 1, 15 do | |
| 981 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.25,0,.25) | |
| 982 | wait() | |
| 983 | end | |
| 984 | for i = 1, 10 do | |
| 985 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.25,0,.25) | |
| 986 | wait() | |
| 987 | end | |
| 988 | for i = 1, 22 do | |
| 989 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,0.05,0) | |
| 990 | wait() | |
| 991 | end | |
| 992 | for i = 1, 5 do | |
| 993 | teld.C0 = teld.C0 + Vector3.new(0,.04,0) | |
| 994 | wait() | |
| 995 | end | |
| 996 | end | |
| 997 | ||
| 998 | function CoolHat() | |
| 999 | for i = 1, 15 do | |
| 1000 | meld.C0 = meld.C0 - Vector3.new(0,.049,0) | |
| 1001 | wait() | |
| 1002 | end | |
| 1003 | for i = 1, 15 do | |
| 1004 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,0.05,0) | |
| 1005 | wait() | |
| 1006 | end | |
| 1007 | for i = 1, 15 do | |
| 1008 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.05,0,.05) | |
| 1009 | wait() | |
| 1010 | end | |
| 1011 | for i = 1, 15 do | |
| 1012 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.025,0,.025) | |
| 1013 | wait() | |
| 1014 | end | |
| 1015 | for i = 1, 10 do | |
| 1016 | teld.C0 = teld.C0 - Vector3.new(0,.04,0) | |
| 1017 | wait() | |
| 1018 | end | |
| 1019 | for i = 1, 5 do | |
| 1020 | --Bottom.CFrame = Bottom.CFrame + CFrame.Angles(45, 45, 45) | |
| 1021 | --CFrame.new()*CFrame,Angles(0,0,0) | |
| 1022 | end | |
| 1023 | end | |
| 1024 | ||
| 1025 | function NoCoolHat() | |
| 1026 | for i = 1, 15 do | |
| 1027 | meld.C0 = meld.C0 + Vector3.new(0,.049,0) | |
| 1028 | wait() | |
| 1029 | end | |
| 1030 | for i = 1, 15 do | |
| 1031 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,0.05,0) | |
| 1032 | wait() | |
| 1033 | end | |
| 1034 | for i = 1, 15 do | |
| 1035 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.05,0,.05) | |
| 1036 | wait() | |
| 1037 | end | |
| 1038 | for i = 1, 15 do | |
| 1039 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.025,0,.025) | |
| 1040 | wait() | |
| 1041 | end | |
| 1042 | for i = 1, 10 do | |
| 1043 | teld.C0 = teld.C0 + Vector3.new(0,.04,0) | |
| 1044 | wait() | |
| 1045 | end | |
| 1046 | for i = 1, 5 do | |
| 1047 | --Bottom.CFrame = Bottom.CFrame - CFrame.Angles(45, 45, 45) | |
| 1048 | --CFrame.new()*CFrame,Angles(0,0,0) | |
| 1049 | end | |
| 1050 | end | |
| 1051 | ||
| 1052 | function SweatBand() | |
| 1053 | for i = 1, 20 do | |
| 1054 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
| 1055 | wait() | |
| 1056 | end | |
| 1057 | for i = 1, 10 do | |
| 1058 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.0225,0,.0225) | |
| 1059 | wait() | |
| 1060 | end | |
| 1061 | for i = 1, 14 do | |
| 1062 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.02,0,.02) | |
| 1063 | wait() | |
| 1064 | end | |
| 1065 | for i = 1, 10 do | |
| 1066 | beld.C0 = beld.C0 - Vector3.new(0,.02,0) | |
| 1067 | wait() | |
| 1068 | end | |
| 1069 | for i = 1, 5 do | |
| 1070 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.03,0) | |
| 1071 | wait() | |
| 1072 | end | |
| 1073 | for i = 1, 8 do | |
| 1074 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.1,0,.1) | |
| 1075 | wait() | |
| 1076 | end | |
| 1077 | for i = 1, 8 do | |
| 1078 | teld.C0 = teld.C0 + Vector3.new(0,0,.072) | |
| 1079 | wait() | |
| 1080 | end | |
| 1081 | for i = 1, 12.5 do | |
| 1082 | teld.C0 = teld.C0 - Vector3.new(0,.1,0) | |
| 1083 | wait() | |
| 1084 | end | |
| 1085 | end | |
| 1086 | ||
| 1087 | function NoSweatBand() | |
| 1088 | for i = 1, 20 do | |
| 1089 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
| 1090 | wait() | |
| 1091 | end | |
| 1092 | for i = 1, 10 do | |
| 1093 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.0225,0,.0225) | |
| 1094 | wait() | |
| 1095 | end | |
| 1096 | for i = 1, 14 do | |
| 1097 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.02,0,.02) | |
| 1098 | wait() | |
| 1099 | end | |
| 1100 | for i = 1, 10 do | |
| 1101 | beld.C0 = beld.C0 + Vector3.new(0,.02,0) | |
| 1102 | wait() | |
| 1103 | end | |
| 1104 | for i = 1, 5 do | |
| 1105 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.03,0) | |
| 1106 | wait() | |
| 1107 | end | |
| 1108 | for i = 1, 8 do | |
| 1109 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.1,0,.1) | |
| 1110 | wait() | |
| 1111 | end | |
| 1112 | for i = 1, 8 do | |
| 1113 | teld.C0 = teld.C0 - Vector3.new(0,0,.072) | |
| 1114 | wait() | |
| 1115 | end | |
| 1116 | for i = 1, 12.5 do | |
| 1117 | teld.C0 = teld.C0 + Vector3.new(0,.1,0) | |
| 1118 | wait() | |
| 1119 | end | |
| 1120 | end | |
| 1121 | ||
| 1122 | function Umbrella() | |
| 1123 | for i = 1, 30 do | |
| 1124 | meld.C0 = meld.C0 + Vector3.new(0,.05,0) | |
| 1125 | wait() | |
| 1126 | end | |
| 1127 | for i = 1, 44.5 do | |
| 1128 | beld.C0 = beld.C0 + Vector3.new(0,.05,0) | |
| 1129 | wait() | |
| 1130 | end | |
| 1131 | for i = 1, 6.5 do | |
| 1132 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0.1,0,0.1) | |
| 1133 | wait() | |
| 1134 | end | |
| 1135 | for i = 1, 20 do | |
| 1136 | TopMesh.Scale = TopMesh.Scale - Vector3.new(0,.25,0) | |
| 1137 | wait() | |
| 1138 | end | |
| 1139 | for i = 1, 15 do | |
| 1140 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(.25,0,.25) | |
| 1141 | wait() | |
| 1142 | end | |
| 1143 | for i = 1, 10 do | |
| 1144 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.25,0,.25) | |
| 1145 | wait() | |
| 1146 | end | |
| 1147 | end | |
| 1148 | ||
| 1149 | function Normal() | |
| 1150 | for i = 1, 30 do | |
| 1151 | meld.C0 = meld.C0 - Vector3.new(0,.05,0) | |
| 1152 | wait() | |
| 1153 | end | |
| 1154 | for i = 1, 44.5 do | |
| 1155 | beld.C0 = beld.C0 - Vector3.new(0,.05,0) | |
| 1156 | wait() | |
| 1157 | end | |
| 1158 | for i = 1, 6.5 do | |
| 1159 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0.1,0,0.1) | |
| 1160 | wait() | |
| 1161 | end | |
| 1162 | for i = 1, 20 do | |
| 1163 | TopMesh.Scale = TopMesh.Scale + Vector3.new(0,.25,0) | |
| 1164 | wait() | |
| 1165 | end | |
| 1166 | for i = 1, 15 do | |
| 1167 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(.25,0,.25) | |
| 1168 | wait() | |
| 1169 | end | |
| 1170 | for i = 1, 10 do | |
| 1171 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.25,0,.25) | |
| 1172 | wait() | |
| 1173 | end | |
| 1174 | end | |
| 1175 | ||
| 1176 | function Helmet() | |
| 1177 | for i = 1, 30 do | |
| 1178 | beld.C0 = beld.C0 - Vector3.new(0,.015,0) | |
| 1179 | wait() | |
| 1180 | end | |
| 1181 | for i = 1, 30 do | |
| 1182 | BottomMesh.Scale = BottomMesh.Scale + Vector3.new(0,.037,0) | |
| 1183 | wait() | |
| 1184 | end | |
| 1185 | for i = 1, 30 do | |
| 1186 | meld.C0 = meld.C0 - Vector3.new(0,.035,0) | |
| 1187 | wait() | |
| 1188 | end | |
| 1189 | for i = 1, 30 do | |
| 1190 | meld.C0 = meld.C0 - Vector3.new(0,0,.0095) | |
| 1191 | wait() | |
| 1192 | end | |
| 1193 | for i = 1, 30 do | |
| 1194 | TopMesh.Scale = TopMesh.Scale - Vector3.new(.03,.0,.03) | |
| 1195 | wait() | |
| 1196 | end | |
| 1197 | for i = 1, 15 do | |
| 1198 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.01,.0,.01) | |
| 1199 | wait() | |
| 1200 | end | |
| 1201 | for i = 1, 30 do | |
| 1202 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.01,.0,.01) | |
| 1203 | wait() | |
| 1204 | end | |
| 1205 | for i = 1, 8 do | |
| 1206 | meld.C0 = meld.C0 + Vector3.new(0,0,.0095) | |
| 1207 | wait() | |
| 1208 | end | |
| 1209 | for i = 1, 8 do | |
| 1210 | teld.C0 = teld.C0 + Vector3.new(.05,0,0) | |
| 1211 | wait() | |
| 1212 | end | |
| 1213 | end | |
| 1214 | ||
| 1215 | function NoHelmet() | |
| 1216 | for i = 1, 30 do | |
| 1217 | beld.C0 = beld.C0 + Vector3.new(0,.015,0) | |
| 1218 | wait() | |
| 1219 | end | |
| 1220 | for i = 1, 30 do | |
| 1221 | BottomMesh.Scale = BottomMesh.Scale - Vector3.new(0,.037,0) | |
| 1222 | wait() | |
| 1223 | end | |
| 1224 | for i = 1, 30 do | |
| 1225 | meld.C0 = meld.C0 + Vector3.new(0,.035,0) | |
| 1226 | wait() | |
| 1227 | end | |
| 1228 | for i = 1, 30 do | |
| 1229 | meld.C0 = meld.C0 + Vector3.new(0,0,.0095) | |
| 1230 | wait() | |
| 1231 | end | |
| 1232 | for i = 1, 30 do | |
| 1233 | TopMesh.Scale = TopMesh.Scale + Vector3.new(.03,.0,.03) | |
| 1234 | wait() | |
| 1235 | end | |
| 1236 | for i = 1, 15 do | |
| 1237 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.01,.0,.01) | |
| 1238 | wait() | |
| 1239 | end | |
| 1240 | for i = 1, 30 do | |
| 1241 | MiddleMesh.Scale = MiddleMesh.Scale - Vector3.new(.01,.0,.01) | |
| 1242 | wait() | |
| 1243 | end | |
| 1244 | for i = 1, 8 do | |
| 1245 | meld.C0 = meld.C0 - Vector3.new(0,0,.0095) | |
| 1246 | wait() | |
| 1247 | end | |
| 1248 | for i = 1, 8 do | |
| 1249 | teld.C0 = teld.C0 - Vector3.new(.05,0,0) | |
| 1250 | wait() | |
| 1251 | end | |
| 1252 | end | |
| 1253 | ||
| 1254 | ||
| 1255 | ||
| 1256 | function Spin() | |
| 1257 | for i = 1, 30 do | |
| 1258 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(1,0,1) | |
| 1259 | Middle.Transparency = Middle.Transparency + .015 | |
| 1260 | wait() | |
| 1261 | end | |
| 1262 | for i = 1, 90 do | |
| 1263 | meld.C0 = meld.C0 - Vector3.new(0,.11,0) | |
| 1264 | wait() | |
| 1265 | end | |
| 1266 | meld.C0 = CFrame.new(0,1.3,-0) | |
| 1267 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
| 1268 | Middle.Transparency = 0 | |
| 1269 | end | |
| 1270 | ||
| 1271 | function Suicide() | |
| 1272 | ef2 = Instance.new("BodyVelocity")
| |
| 1273 | ef2.Parent = Torso | |
| 1274 | ef2.maxForce = Vector3.new(0,math.huge,0) | |
| 1275 | ef2.velocity = Vector3.new(0, 50, 0) | |
| 1276 | Character.Humanoid.PlatformStand = true | |
| 1277 | wait(1) | |
| 1278 | --Sound.SoundId = "http://www.roblox.com/asset/?id=2101148" | |
| 1279 | --Sound.Pitch = 1 | |
| 1280 | for i = 1, 3 do | |
| 1281 | e = Instance.new("Explosion")
| |
| 1282 | e.Parent = Workspace | |
| 1283 | e.Position = Torso.Position | |
| 1284 | e.BlastRadius = 30 | |
| 1285 | e.BlastPressure = 10000 | |
| 1286 | --Sound:play() | |
| 1287 | wait(.2) | |
| 1288 | e = Instance.new("Explosion")
| |
| 1289 | e.Parent = Workspace | |
| 1290 | e.Position = Head.Position | |
| 1291 | e.BlastRadius = 30 | |
| 1292 | e.BlastPressure = 1000 | |
| 1293 | --Sound:play() | |
| 1294 | wait(.2) | |
| 1295 | e = Instance.new("Explosion")
| |
| 1296 | e.Parent = Workspace | |
| 1297 | e.Position = RightArm.Position | |
| 1298 | e.BlastRadius = 30 | |
| 1299 | e.BlastPressure = 1000 | |
| 1300 | --Sound:play() | |
| 1301 | wait(.2) | |
| 1302 | e = Instance.new("Explosion")
| |
| 1303 | e.Parent = Workspace | |
| 1304 | e.Position = LeftArm.Position | |
| 1305 | e.BlastRadius = 30 | |
| 1306 | e.BlastPressure = 1000 | |
| 1307 | --Sound:play() | |
| 1308 | wait(.2) | |
| 1309 | e = Instance.new("Explosion")
| |
| 1310 | e.Parent = Workspace | |
| 1311 | e.Position = LeftLeg.Position | |
| 1312 | e.BlastRadius = 30 | |
| 1313 | e.BlastPressure = 1000 | |
| 1314 | --Sound:play() | |
| 1315 | wait(.2) | |
| 1316 | e = Instance.new("Explosion")
| |
| 1317 | e.Parent = Workspace | |
| 1318 | e.Position = RightLeg.Position | |
| 1319 | e.BlastRadius = 1000 | |
| 1320 | e.BlastPressure = 1000 | |
| 1321 | --Sound:play() | |
| 1322 | wait(.2) | |
| 1323 | end | |
| 1324 | end | |
| 1325 | ||
| 1326 | function Change() | |
| 1327 | for i = 1, 100 do | |
| 1328 | meld.C0 = meld.C0 + Vector3.new(0,.5,0) | |
| 1329 | wait() | |
| 1330 | end | |
| 1331 | for i = 1, 200 do | |
| 1332 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(1,0,1) | |
| 1333 | wait() | |
| 1334 | end | |
| 1335 | for i = 1, 50 do | |
| 1336 | meld.C0 = meld.C0 - Vector3.new(0,2,0) | |
| 1337 | Stuff = Workspace:GetChildren() | |
| 1338 | for i = 1 , #Stuff do | |
| 1339 | Torsoo = Stuff[i]:findFirstChild("Torso")
| |
| 1340 | if Torsoo ~= nil then | |
| 1341 | if (Torsoo.Position-Torsoo.Position).magnitude <= (10) then | |
| 1342 | if Torsoo.Parent.Name ~= Names then | |
| 1343 | Humanoid = Torsoo.Parent:findFirstChild("Humanoid")
| |
| 1344 | if Humanoid ~= nil then | |
| 1345 | Humanoid.MaxHealth = 100 | |
| 1346 | Humanoid:TakeDamage(1) | |
| 1347 | Humanoid.Sit = true | |
| 1348 | Torsoo.CFrame =Torsoo.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) | |
| 1349 | end | |
| 1350 | end | |
| 1351 | end | |
| 1352 | end | |
| 1353 | end | |
| 1354 | wait() | |
| 1355 | end | |
| 1356 | meld.C0 = CFrame.new(0,1.3,-0) | |
| 1357 | MiddleMesh.Scale = Vector3.new(1.01,.1,1.01) | |
| 1358 | Middle.Transparency = 0 | |
| 1359 | end | |
| 1360 | ||
| 1361 | function Clean() | |
| 1362 | stuff = game.Workspace:GetChildren() | |
| 1363 | for i = 1 , #stuff do | |
| 1364 | if stuff[i].className ~= "Script" then | |
| 1365 | if game.Players:GetPlayerFromCharacter(stuff[i]) == nil then | |
| 1366 | stuff[i]:Remove() | |
| 1367 | end | |
| 1368 | end | |
| 1369 | end | |
| 1370 | p = Instance.new("Part")
| |
| 1371 | p.Parent = game.Workspace | |
| 1372 | p.Name = "Base" | |
| 1373 | p.Anchored = true | |
| 1374 | p.BottomSurface = "Smooth" | |
| 1375 | p.BrickColor = BrickColor.new (28) | |
| 1376 | p.Size = Vector3.new(512, 1, 512) | |
| 1377 | p.CFrame = CFrame.new(Vector3.new(0, 0, 0)) | |
| 1378 | ||
| 1379 | game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100) | |
| 1380 | game.Lighting.ColorShift_Top = Color3.new(0, 0, 0) | |
| 1381 | game.Lighting.Ambient = Color3.new(2, 2, 2) | |
| 1382 | game.Lighting.Brightness = 1 | |
| 1383 | game.Lighting.TimeOfDay = "12:00:00" | |
| 1384 | end | |
| 1385 | ||
| 1386 | function ResetHat() | |
| 1387 | for i = 1, 20 do | |
| 1388 | Top.Transparency = Top.Transparency + .05 | |
| 1389 | Bottom.Transparency = Bottom.Transparency + .05 | |
| 1390 | Middle.Transparency = Middle.Transparency + .05 | |
| 1391 | wait() | |
| 1392 | end | |
| 1393 | meld.C0 = CFrame.new(0,1.3,-0) | |
| 1394 | MiddleMesh.Scale=Vector3.new(1.01,.1,1.01) | |
| 1395 | beld.C0 = CFrame.new(0,.5,-0) | |
| 1396 | BottomMesh.Scale=Vector3.new(1.5,.1,1.5) | |
| 1397 | teld.C0 = CFrame.new(0,1,-0) | |
| 1398 | TopMesh.Scale=Vector3.new(1,1.2,1) | |
| 1399 | wait(1) | |
| 1400 | for i = 1, 20 do | |
| 1401 | Top.Transparency = Top.Transparency - .05 | |
| 1402 | Bottom.Transparency = Bottom.Transparency - .05 | |
| 1403 | Middle.Transparency = Middle.Transparency - .05 | |
| 1404 | wait() | |
| 1405 | end | |
| 1406 | end | |
| 1407 | ||
| 1408 | ||
| 1409 | gm = Instance.new("GuiMain")
| |
| 1410 | gm.Parent = Player.PlayerGui | |
| 1411 | gm.Name = "GUI-Main" | |
| 1412 | Frame = Instance.new("Frame",gm)
| |
| 1413 | Frame.Size = UDim2.new(0,310,0,300) | |
| 1414 | Frame.Position = UDim2.new(0,780,0,20) | |
| 1415 | Frame.BackgroundTransparency = .5 | |
| 1416 | Frame.BackgroundColor3 = Color3.new(50,50,50) | |
| 1417 | Frame.BorderColor3 = Color3.new(0,0,0) | |
| 1418 | Prev = Instance.new("TextButton",Frame)
| |
| 1419 | Prev.Position = UDim2.new(0,0,0,285) | |
| 1420 | Prev.Size = UDim2.new(0,70,0,15) | |
| 1421 | Prev.Text = "Page 1" | |
| 1422 | Prev.BackgroundTransparency = .5 | |
| 1423 | Prev.TextTransparency = .1 | |
| 1424 | Prev.BackgroundColor3 = Color3.new(100,255,255) | |
| 1425 | Prev.BorderColor3 = Color3.new(50,255,255) | |
| 1426 | function onClick() | |
| 1427 | Page(1,gm) | |
| 1428 | end | |
| 1429 | Prev.MouseButton1Click:connect(onClick) | |
| 1430 | Next = Instance.new("TextButton",Frame)
| |
| 1431 | Next.Position = UDim2.new(0,240,0,285) | |
| 1432 | Next.Size = UDim2.new(0,70,0,15) | |
| 1433 | Next.Text = "Page 2" | |
| 1434 | Next.BackgroundTransparency = .5 | |
| 1435 | Next.TextTransparency = .1 | |
| 1436 | Next.BackgroundColor3 = Color3.new(100,255,255) | |
| 1437 | Next.BorderColor3 = Color3.new(50,255,255) | |
| 1438 | function onClick() | |
| 1439 | Page(2,gm) | |
| 1440 | end | |
| 1441 | Next.MouseButton1Click:connect(onClick) | |
| 1442 | tb = Instance.new("TextButton")
| |
| 1443 | tb.Parent = gm | |
| 1444 | tb.Size = UDim2.new(0,70,0,30) | |
| 1445 | tb.Position = UDim2.new(0,900,0,240) | |
| 1446 | tb.Text = "Helicopter" | |
| 1447 | tb.BackgroundTransparency = .5 | |
| 1448 | tb.TextTransparency = .1 | |
| 1449 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1450 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1451 | function click() | |
| 1452 | ShieldOn() | |
| 1453 | --[[if Sh ~= true then | |
| 1454 | ShieldOff() | |
| 1455 | end]] | |
| 1456 | wait(15) | |
| 1457 | ShieldOff() | |
| 1458 | end | |
| 1459 | tb.MouseButton1Click:connect(click) | |
| 1460 | tb = Instance.new("TextButton")
| |
| 1461 | tb.Parent = gm | |
| 1462 | tb.Size = UDim2.new(0,70,0,30) | |
| 1463 | tb.Position = UDim2.new(0,1000,0,240) | |
| 1464 | tb.Text = "Heal" | |
| 1465 | tb.BackgroundTransparency = .5 | |
| 1466 | tb.TextTransparency = .1 | |
| 1467 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1468 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1469 | function click() | |
| 1470 | Heal() | |
| 1471 | end | |
| 1472 | tb.MouseButton1Click:connect(click) | |
| 1473 | tb = Instance.new("TextButton")
| |
| 1474 | tb.Parent = gm | |
| 1475 | tb.Size = UDim2.new(0,70,0,30) | |
| 1476 | tb.Position = UDim2.new(0,1000,0,200) | |
| 1477 | tb.Text = "Harm" | |
| 1478 | tb.BackgroundTransparency = .5 | |
| 1479 | tb.TextTransparency = .1 | |
| 1480 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1481 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1482 | function click() | |
| 1483 | Harm() | |
| 1484 | end | |
| 1485 | tb.MouseButton1Click:connect(click) | |
| 1486 | tb = Instance.new("TextButton")
| |
| 1487 | tb.Parent = gm | |
| 1488 | tb.Size = UDim2.new(0,70,0,30) | |
| 1489 | tb.Position = UDim2.new(0,800,0,240) | |
| 1490 | tb.Text = "TeleUp" | |
| 1491 | tb.BackgroundTransparency = .5 | |
| 1492 | tb.TextTransparency = .1 | |
| 1493 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1494 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1495 | function click() | |
| 1496 | Free() | |
| 1497 | end | |
| 1498 | tb.MouseButton1Click:connect(click) | |
| 1499 | tb = Instance.new("TextButton")
| |
| 1500 | tb.Parent = gm | |
| 1501 | tb.Size = UDim2.new(0,70,0,30) | |
| 1502 | tb.Position = UDim2.new(0,800,0,200) | |
| 1503 | tb.Text = "Spin" | |
| 1504 | tb.BackgroundTransparency = .5 | |
| 1505 | tb.TextTransparency = .1 | |
| 1506 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1507 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1508 | function click() | |
| 1509 | Spin() | |
| 1510 | end | |
| 1511 | tb.MouseButton1Click:connect(click) | |
| 1512 | tb = Instance.new("TextButton")
| |
| 1513 | tb.Parent = gm | |
| 1514 | tb.Size = UDim2.new(0,70,0,30) | |
| 1515 | tb.Position = UDim2.new(0,800,0,160) | |
| 1516 | tb.Text = "KillSelf" | |
| 1517 | tb.BackgroundTransparency = .5 | |
| 1518 | tb.TextTransparency = .1 | |
| 1519 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1520 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1521 | function click() | |
| 1522 | Suicide() | |
| 1523 | end | |
| 1524 | tb.MouseButton1Click:connect(click) | |
| 1525 | tb = Instance.new("TextButton")
| |
| 1526 | tb.Parent = gm | |
| 1527 | tb.Size = UDim2.new(0,70,0,30) | |
| 1528 | tb.Position = UDim2.new(0,800,0,120) | |
| 1529 | tb.Text = "Darkness" | |
| 1530 | tb.BackgroundTransparency = .5 | |
| 1531 | tb.TextTransparency = .1 | |
| 1532 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1533 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1534 | function click() | |
| 1535 | Change() | |
| 1536 | end | |
| 1537 | tb.MouseButton1Click:connect(click) | |
| 1538 | tb = Instance.new("TextButton")
| |
| 1539 | tb.Parent = gm | |
| 1540 | tb.Size = UDim2.new(0,70,0,30) | |
| 1541 | tb.Position = UDim2.new(0,800,0,80) | |
| 1542 | tb.Text = "Clean" | |
| 1543 | tb.BackgroundTransparency = .5 | |
| 1544 | tb.TextTransparency = .1 | |
| 1545 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1546 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1547 | function click() | |
| 1548 | Clean() | |
| 1549 | end | |
| 1550 | tb.MouseButton1Click:connect(click) | |
| 1551 | tb = Instance.new("TextButton")
| |
| 1552 | tb.Parent = gm | |
| 1553 | tb.Size = UDim2.new(0,70,0,30) | |
| 1554 | tb.Position = UDim2.new(0,800,0,40) | |
| 1555 | tb.Text = "Rampage" | |
| 1556 | tb.BackgroundTransparency = .5 | |
| 1557 | tb.TextTransparency = .1 | |
| 1558 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1559 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1560 | function click() | |
| 1561 | Rampage() | |
| 1562 | end | |
| 1563 | tb.MouseButton1Click:connect(click) | |
| 1564 | tb = Instance.new("TextButton")
| |
| 1565 | tb.Parent = gm | |
| 1566 | tb.Size = UDim2.new(0,70,0,30) | |
| 1567 | tb.Position = UDim2.new(0,1000,0,160) | |
| 1568 | tb.Text = "Umbrella" | |
| 1569 | tb.BackgroundTransparency = .5 | |
| 1570 | tb.TextTransparency = .1 | |
| 1571 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1572 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1573 | function click() | |
| 1574 | Umbrella() | |
| 1575 | end | |
| 1576 | tb.MouseButton1Click:connect(click) | |
| 1577 | tb = Instance.new("TextButton")
| |
| 1578 | tb.Parent = gm | |
| 1579 | tb.Size = UDim2.new(0,70,0,30) | |
| 1580 | tb.Position = UDim2.new(0,1000,0,120) | |
| 1581 | tb.Text = "No-Umbrella" | |
| 1582 | tb.BackgroundTransparency = .5 | |
| 1583 | tb.TextTransparency = .1 | |
| 1584 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1585 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1586 | function click() | |
| 1587 | Normal() | |
| 1588 | end | |
| 1589 | tb.MouseButton1Click:connect(click) | |
| 1590 | tb = Instance.new("TextButton")
| |
| 1591 | tb.Parent = gm | |
| 1592 | tb.Size = UDim2.new(0,70,0,30) | |
| 1593 | tb.Position = UDim2.new(0,1000,0,80) | |
| 1594 | tb.Text = "Helmet" | |
| 1595 | tb.BackgroundTransparency = .5 | |
| 1596 | tb.TextTransparency = .1 | |
| 1597 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1598 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1599 | function click() | |
| 1600 | Helmet() | |
| 1601 | end | |
| 1602 | tb.MouseButton1Click:connect(click) | |
| 1603 | tb = Instance.new("TextButton")
| |
| 1604 | tb.Parent = gm | |
| 1605 | tb.Size = UDim2.new(0,70,0,30) | |
| 1606 | tb.Position = UDim2.new(0,1000,0,40) | |
| 1607 | tb.Text = "No-Helmet" | |
| 1608 | tb.BackgroundTransparency = .5 | |
| 1609 | tb.TextTransparency = .1 | |
| 1610 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1611 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1612 | function click() | |
| 1613 | NoHelmet() | |
| 1614 | end | |
| 1615 | tb.MouseButton1Click:connect(click) | |
| 1616 | tb = Instance.new("TextButton")
| |
| 1617 | tb.Parent = gm | |
| 1618 | tb.Size = UDim2.new(0,70,0,30) | |
| 1619 | tb.Position = UDim2.new(0,900,0,40) | |
| 1620 | tb.Text = "Cool-Hat" | |
| 1621 | tb.BackgroundTransparency = .5 | |
| 1622 | tb.TextTransparency = .1 | |
| 1623 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1624 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1625 | function click() | |
| 1626 | CoolHat() | |
| 1627 | end | |
| 1628 | tb.MouseButton1Click:connect(click) | |
| 1629 | tb = Instance.new("TextButton")
| |
| 1630 | tb.Parent = gm | |
| 1631 | tb.Size = UDim2.new(0,70,0,30) | |
| 1632 | tb.Position = UDim2.new(0,900,0,80) | |
| 1633 | tb.Text = "No-Cool-Hat" | |
| 1634 | tb.BackgroundTransparency = .5 | |
| 1635 | tb.TextTransparency = .1 | |
| 1636 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1637 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1638 | function click() | |
| 1639 | NoCoolHat() | |
| 1640 | end | |
| 1641 | tb.MouseButton1Click:connect(click) | |
| 1642 | tb = Instance.new("TextButton")
| |
| 1643 | tb.Parent = gm | |
| 1644 | tb.Size = UDim2.new(0,70,0,30) | |
| 1645 | tb.Position = UDim2.new(0,900,0,120) | |
| 1646 | tb.Text = "Sweatband" | |
| 1647 | tb.BackgroundTransparency = .5 | |
| 1648 | tb.TextTransparency = .1 | |
| 1649 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1650 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1651 | function click() | |
| 1652 | SweatBand() | |
| 1653 | end | |
| 1654 | tb.MouseButton1Click:connect(click) | |
| 1655 | tb = Instance.new("TextButton")
| |
| 1656 | tb.Parent = gm | |
| 1657 | tb.Size = UDim2.new(0,70,0,30) | |
| 1658 | tb.Position = UDim2.new(0,900,0,160) | |
| 1659 | tb.Text = "No-Sweatband" | |
| 1660 | tb.BackgroundTransparency = .5 | |
| 1661 | tb.TextTransparency = .1 | |
| 1662 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1663 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1664 | function click() | |
| 1665 | NoSweatBand() | |
| 1666 | end | |
| 1667 | tb.MouseButton1Click:connect(click) | |
| 1668 | tb = Instance.new("TextButton")
| |
| 1669 | tb.Parent = gm | |
| 1670 | tb.Size = UDim2.new(0,70,0,30) | |
| 1671 | tb.Position = UDim2.new(0,900,0,200) | |
| 1672 | tb.Text = "Reset Hat" | |
| 1673 | tb.BackgroundTransparency = .5 | |
| 1674 | tb.TextTransparency = .1 | |
| 1675 | tb.BackgroundColor3 = Color3.new(100,255,255) | |
| 1676 | tb.BorderColor3 = Color3.new(50,255,255) | |
| 1677 | function click() | |
| 1678 | ResetHat() | |
| 1679 | end | |
| 1680 | tb.MouseButton1Click:connect(click) | |
| 1681 | ||
| 1682 | ||
| 1683 | Vip = Player | |
| 1684 | function onChatted(msg) | |
| 1685 | if Radio == true then | |
| 1686 | if msg == "FOR ALLAH!" then | |
| 1687 | Humanoid.WalkSpeed = 24 | |
| 1688 | for i = 1, 5 do | |
| 1689 | Middle.BrickColor = BrickColor.new("Really red")
| |
| 1690 | wait(1) | |
| 1691 | Middle.BrickColor = BrickColor.new("Really red")
| |
| 1692 | wait(1) | |
| 1693 | end | |
| 1694 | p = Instance.new("Part")
| |
| 1695 | p.Parent = Torso | |
| 1696 | p.CFrame = Torso.CFrame | |
| 1697 | p.Anchored = true | |
| 1698 | p.Size = Vector3.new(1,1,1) | |
| 1699 | p.BrickColor = BrickColor.new("Bright yellow")
| |
| 1700 | p.FormFactor = "Symmetric" | |
| 1701 | pm = Instance.new("SpecialMesh")
| |
| 1702 | pm.Parent = p | |
| 1703 | pm.MeshType = "Sphere" | |
| 1704 | e = Instance.new("Explosion")
| |
| 1705 | e.Parent = Torso | |
| 1706 | e.BlastRadius = 8 | |
| 1707 | e.Position = Torso.Position | |
| 1708 | for i = 1, 25 do | |
| 1709 | pm.Scale = pm.Scale + Vector3.new(.5,.5,.5) | |
| 1710 | p.Transparency = p.Transparency + .04 | |
| 1711 | wait() | |
| 1712 | end | |
| 1713 | end | |
| 1714 | end | |
| 1715 | end | |
| 1716 | Vip.Chatted:connect(onChatted) | |
| 1717 | ||
| 1718 | function onChatted(msg) | |
| 1719 | if Healing == true then | |
| 1720 | if msg == "Activate" then | |
| 1721 | for i = 1, 10 do | |
| 1722 | Middle.Transparency = 0 | |
| 1723 | MiddleMesh.Scale = Vector3.new(.01,.1,.01) | |
| 1724 | for i = 1, 20 do | |
| 1725 | MiddleMesh.Scale = MiddleMesh.Scale + Vector3.new(.25,0,.25) | |
| 1726 | Middle.Transparency = Middle.Transparency + .05 | |
| 1727 | wait() | |
| 1728 | end | |
| 1729 | wait(3) | |
| 1730 | end | |
| 1731 | end | |
| 1732 | end | |
| 1733 | end | |
| 1734 | Vip.Chatted:connect(onChatted) | |
| 1735 | -- mediafire |