SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
| |
| 2 | print("FE Compatibility: by WaverlyCole & Mokiros")
| |
| 3 | InternalData = {}
| |
| 4 | do | |
| 5 | script.Parent = owner.Character | |
| 6 | local Event = Instance.new("RemoteEvent")
| |
| 7 | Event.Name = "UserInput" | |
| 8 | local function NewFakeEvent() | |
| 9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
| |
| 10 | return Fake | |
| 11 | end | |
| 12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 17 | local function TriggerEvent(self,Event,...) | |
| 18 | local Trigger = Mouse[Event] | |
| 19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
| 20 | Trigger.Function(...) | |
| 21 | end | |
| 22 | end | |
| 23 | Mouse.TrigEvent = TriggerEvent | |
| 24 | UserInputService.TrigEvent = TriggerEvent | |
| 25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 26 | if FiredBy.Name ~= owner.Name then end | |
| 27 | if Input.MouseEvent then | |
| 28 | Mouse.Target = Input.Target | |
| 29 | Mouse.Hit = Input.Hit | |
| 30 | else | |
| 31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
| 34 | end | |
| 35 | for _,Action in pairs(ContextActionService.Actions) do | |
| 36 | for _,Key in pairs(Action.Keys) do | |
| 37 | if Key==Input.KeyCode then | |
| 38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
| 39 | end | |
| 40 | end | |
| 41 | end | |
| 42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 44 | end | |
| 45 | end) | |
| 46 | InternalData["Mouse"] = Mouse | |
| 47 | InternalData["ContextActionService"] = ContextActionService | |
| 48 | InternalData["UserInputService"] = UserInputService | |
| 49 | Event.Parent = NLS([[ | |
| 50 | local Player = owner | |
| 51 | local Event = script:WaitForChild("UserInput")
| |
| 52 | local UserInputService = game:GetService("UserInputService")
| |
| 53 | local Mouse = Player:GetMouse() | |
| 54 | local Input = function(Input,gameProcessedEvent) | |
| 55 | if gameProcessedEvent then return end | |
| 56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 57 | end | |
| 58 | UserInputService.InputBegan:Connect(Input) | |
| 59 | UserInputService.InputEnded:Connect(Input) | |
| 60 | local Hit,Target | |
| 61 | while wait(1/30) do | |
| 62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 63 | Hit,Targer = Mouse.Hit,Mouse.Target | |
| 64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 65 | end | |
| 66 | end | |
| 67 | ]],owner.Character) | |
| 68 | end | |
| 69 | RealGame = game;game = setmetatable({},{
| |
| 70 | __index = function (self,Index) | |
| 71 | local Sandbox = function (Thing) | |
| 72 | if Thing:IsA("Player") then
| |
| 73 | local RealPlayer = Thing | |
| 74 | return setmetatable({},{
| |
| 75 | __index = function (self,Index) | |
| 76 | local Type = type(RealPlayer[Index]) | |
| 77 | if Type == "function" then | |
| 78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 79 | return function (self) | |
| 80 | return InternalData["Mouse"] | |
| 81 | end | |
| 82 | end | |
| 83 | return function (self,...) | |
| 84 | return RealPlayer[Index](RealPlayer,...) | |
| 85 | end | |
| 86 | else | |
| 87 | return RealPlayer[Index] | |
| 88 | end | |
| 89 | end; | |
| 90 | __tostring = function(self) | |
| 91 | return RealPlayer.Name | |
| 92 | end | |
| 93 | }) | |
| 94 | end | |
| 95 | end | |
| 96 | if RealGame[Index] then | |
| 97 | local Type = type(RealGame[Index]) | |
| 98 | if Type == "function" then | |
| 99 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 100 | return function (self,Service) | |
| 101 | if Service:lower() == "players" then | |
| 102 | return setmetatable({},{
| |
| 103 | __index = function (self2,Index2) | |
| 104 | local RealService = RealGame:GetService(Service) | |
| 105 | local Type2 = type(Index2) | |
| 106 | if Type2 == "function" then | |
| 107 | return function (self,...) | |
| 108 | return RealService[Index2](RealService,...) | |
| 109 | end | |
| 110 | else | |
| 111 | if Index2:lower() == "localplayer" then | |
| 112 | return Sandbox(owner) | |
| 113 | end | |
| 114 | return RealService[Index2] | |
| 115 | end | |
| 116 | end; | |
| 117 | __tostring = function(self) | |
| 118 | return RealGame:GetService(Service).Name | |
| 119 | end | |
| 120 | }) | |
| 121 | elseif Service:lower() == "contextactionservice" then | |
| 122 | return InternalData["ContextActionService"] | |
| 123 | elseif Service:lower() == "contextactionservice" then | |
| 124 | return InternalData["UserInputService"] | |
| 125 | elseif Service:lower() == "runservice" then | |
| 126 | return setmetatable({},{
| |
| 127 | __index = function(self2,Index2) | |
| 128 | local RealService = RealGame:GetService(Service) | |
| 129 | local Type2 = type(Index2) | |
| 130 | if Type2 == "function" then | |
| 131 | return function (self,...) | |
| 132 | return RealService[Index2](RealService,...) | |
| 133 | end | |
| 134 | else | |
| 135 | if Index2:lower() == "bindtorenderstep" then | |
| 136 | return function (self,Name,Priority,Function) | |
| 137 | return RealGame:GetService("RunService").Stepped:Connect(Function)
| |
| 138 | end | |
| 139 | end | |
| 140 | if Index2:lower() == "renderstepped" then | |
| 141 | return RealService["Stepped"] | |
| 142 | end | |
| 143 | return RealService[Index2] | |
| 144 | end | |
| 145 | end | |
| 146 | }) | |
| 147 | else | |
| 148 | return RealGame:GetService(Service) | |
| 149 | end | |
| 150 | end | |
| 151 | end | |
| 152 | return function (self,...) | |
| 153 | return RealGame[Index](RealGame,...) | |
| 154 | end | |
| 155 | else | |
| 156 | if game:GetService(Index) then | |
| 157 | return game:GetService(Index) | |
| 158 | end | |
| 159 | return RealGame[Index] | |
| 160 | end | |
| 161 | else | |
| 162 | return nil | |
| 163 | end | |
| 164 | end | |
| 165 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
| |
| 166 | print("Complete! Running...")
| |
| 167 | ||
| 168 | ||
| 169 | --//Paste script below this line. | |
| 170 | ||
| 171 | -- Blamo Berb -- | |
| 172 | ||
| 173 | wait() | |
| 174 | script.Parent = nil | |
| 175 | LoudVolume = false | |
| 176 | Submerged = false | |
| 177 | Music = true | |
| 178 | isTyping = false | |
| 179 | script.Name = "Berb" | |
| 180 | Player = game.Players.LocalPlayer | |
| 181 | c = game.Players.LocalPlayer.Character | |
| 182 | Head = c.Head | |
| 183 | anim = c.Humanoid.Animator | |
| 184 | c.Animate:remove() | |
| 185 | Humanoid = c:findFirstChild("Humanoid")
| |
| 186 | Humanoid.Name = "Immortal" | |
| 187 | rage = false | |
| 188 | p = game.Players.LocalPlayer | |
| 189 | Music = false | |
| 190 | W = nil | |
| 191 | local Effects = {}
| |
| 192 | attack = false | |
| 193 | local attacking = false | |
| 194 | vt = Vector3.new | |
| 195 | bc = BrickColor.new | |
| 196 | br = BrickColor.random | |
| 197 | it = Instance.new | |
| 198 | cf = CFrame.new | |
| 199 | euler = CFrame.fromEulerAnglesXYZ | |
| 200 | angles = CFrame.Angles | |
| 201 | matr = math.random | |
| 202 | mouse = Player:GetMouse() | |
| 203 | ||
| 204 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 205 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 206 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 207 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 208 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 209 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 210 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 211 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 212 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 213 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 214 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 215 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 216 | RS = c.Torso:FindFirstChild("Right Shoulder")
| |
| 217 | LS = c.Torso:FindFirstChild("Left Shoulder")
| |
| 218 | RH = c.Torso:FindFirstChild("Right Hip")
| |
| 219 | LH = c.Torso:FindFirstChild("Left Hip")
| |
| 220 | RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
| |
| 221 | N = c.Torso:FindFirstChild("Neck")
| |
| 222 | cf = CFrame.new | |
| 223 | ang = CFrame.Angles | |
| 224 | rd = math.rad | |
| 225 | rd2 = math.random | |
| 226 | ||
| 227 | function lerpz(joint, prop, cfrmz, alp) | |
| 228 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 229 | end | |
| 230 | function resetlerp() | |
| 231 | RJ.C0 = RJC0 | |
| 232 | RJ.C1 = RJC1 | |
| 233 | N.C0 = NC0 | |
| 234 | N.C1 = NC1 | |
| 235 | RS.C0 = RSC0 | |
| 236 | RS.C1 = RSC1 | |
| 237 | LS.C0 = LSC0 | |
| 238 | LS.C1 = LSC1 | |
| 239 | RH.C0 = RHC0 | |
| 240 | RH.C1 = RHC1 | |
| 241 | LH.C0 = LHC0 | |
| 242 | LH.C1 = LHC1 | |
| 243 | end | |
| 244 | ||
| 245 | function swait(num) | |
| 246 | if num==0 or num==nil then | |
| 247 | game:service'RunService'.Heartbeat:wait(0) | |
| 248 | else | |
| 249 | for i=0,num do | |
| 250 | game:service'RunService'.Heartbeat:wait(0) | |
| 251 | end | |
| 252 | end | |
| 253 | end | |
| 254 | ||
| 255 | game:GetService('UserInputService').InputBegan:connect(function(InputObj)
| |
| 256 | if InputObj.KeyCode == Enum.KeyCode.Slash then | |
| 257 | local finishEvent = nil | |
| 258 | isTyping = true | |
| 259 | finishEvent = game:GetService('UserInputService').InputBegan:connect(function(InputObj)
| |
| 260 | if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 261 | isTyping = false | |
| 262 | finishEvent:disconnect() | |
| 263 | end | |
| 264 | end) | |
| 265 | end | |
| 266 | end) | |
| 267 | ||
| 268 | for i,v in pairs(c:children()) do | |
| 269 | if v.ClassName == "Part" then | |
| 270 | v.Transparency = 1 | |
| 271 | end | |
| 272 | if v.ClassName == "Accessory" then | |
| 273 | v:remove() | |
| 274 | end | |
| 275 | end | |
| 276 | ||
| 277 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 278 | mas.Name = "CompiledModel" | |
| 279 | o1 = Instance.new("Model")
| |
| 280 | o2 = Instance.new("Model")
| |
| 281 | o3 = Instance.new("Part")
| |
| 282 | o4 = Instance.new("CylinderMesh")
| |
| 283 | o5 = Instance.new("Part")
| |
| 284 | o6 = Instance.new("CylinderMesh")
| |
| 285 | o7 = Instance.new("Part")
| |
| 286 | o8 = Instance.new("SpecialMesh")
| |
| 287 | o9 = Instance.new("Part")
| |
| 288 | o10 = Instance.new("SpecialMesh")
| |
| 289 | o11 = Instance.new("Weld")
| |
| 290 | o12 = Instance.new("Weld")
| |
| 291 | o13 = Instance.new("Weld")
| |
| 292 | o14 = Instance.new("Weld")
| |
| 293 | o15 = Instance.new("Weld")
| |
| 294 | o16 = Instance.new("Part")
| |
| 295 | o17 = Instance.new("CylinderMesh")
| |
| 296 | o18 = Instance.new("Part")
| |
| 297 | o19 = Instance.new("SpecialMesh")
| |
| 298 | o20 = Instance.new("Part")
| |
| 299 | o21 = Instance.new("Weld")
| |
| 300 | o22 = Instance.new("Weld")
| |
| 301 | o23 = Instance.new("Weld")
| |
| 302 | o24 = Instance.new("Part")
| |
| 303 | o25 = Instance.new("Weld")
| |
| 304 | o26 = Instance.new("Weld")
| |
| 305 | o27 = Instance.new("Weld")
| |
| 306 | o28 = Instance.new("Part")
| |
| 307 | o29 = Instance.new("Part")
| |
| 308 | o30 = Instance.new("Part")
| |
| 309 | o31 = Instance.new("Part")
| |
| 310 | o32 = Instance.new("Part")
| |
| 311 | o33 = Instance.new("Part")
| |
| 312 | o1.Name = "BlamoBerb" | |
| 313 | o1.Parent = mas | |
| 314 | o2.Parent = o1 | |
| 315 | o3.Name = "Mouth" | |
| 316 | o3.Parent = o2 | |
| 317 | o3.Material = Enum.Material.SmoothPlastic | |
| 318 | o3.BrickColor = BrickColor.new("Really black")
| |
| 319 | o3.Position = Vector3.new(41.2506142, 41.3160973, 30.5951977) | |
| 320 | o3.Rotation = Vector3.new(-5, 0, -180) | |
| 321 | o3.CanCollide = false | |
| 322 | o3.Size = Vector3.new(1.50000012, 0.200000003, 1.5) | |
| 323 | o3.CFrame = CFrame.new(41.2506142, 41.3160973, 30.5951977, -1, 0, 0, 0, -0.996188819, 0.0871554539, 0, 0.0871554464, 0.996188819) | |
| 324 | o3.BottomSurface = Enum.SurfaceType.Smooth | |
| 325 | o3.TopSurface = Enum.SurfaceType.Smooth | |
| 326 | o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 327 | o3.Position = Vector3.new(41.2506142, 41.3160973, 30.5951977) | |
| 328 | o3.Orientation = Vector3.new(-5, 0, 180) | |
| 329 | o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 330 | o4.Parent = o3 | |
| 331 | o4.Scale = Vector3.new(1, 0.5, 1) | |
| 332 | o4.Scale = Vector3.new(1, 0.5, 1) | |
| 333 | o5.Name = "LeftEye" | |
| 334 | o5.Parent = o2 | |
| 335 | o5.Material = Enum.Material.SmoothPlastic | |
| 336 | o5.BrickColor = BrickColor.new("Institutional white")
| |
| 337 | o5.Position = Vector3.new(40.7347031, 41.5858727, 30.0870075) | |
| 338 | o5.Rotation = Vector3.new(-76.9300003, 7.42999983, -150.850006) | |
| 339 | o5.CanCollide = false | |
| 340 | o5.Size = Vector3.new(0.523343444, 0.161028728, 0.523343384) | |
| 341 | o5.CFrame = CFrame.new(40.7347031, 41.5858727, 30.0870075, -0.866031826, 0.482966542, 0.129353046, -6.39967693e-05, -0.258817375, 0.965920091, 0.499985963, 0.836509347, 0.224175021) | |
| 342 | o5.BottomSurface = Enum.SurfaceType.Smooth | |
| 343 | o5.TopSurface = Enum.SurfaceType.Smooth | |
| 344 | o5.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
| 345 | o5.Position = Vector3.new(40.7347031, 41.5858727, 30.0870075) | |
| 346 | o5.Orientation = Vector3.new(-75, 29.9899998, -179.990005) | |
| 347 | o5.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
| 348 | o6.Parent = o5 | |
| 349 | o6.Scale = Vector3.new(1, 0.5, 1) | |
| 350 | o6.Scale = Vector3.new(1, 0.5, 1) | |
| 351 | o7.Name = "LeftEye" | |
| 352 | o7.Parent = o2 | |
| 353 | o7.Material = Enum.Material.SmoothPlastic | |
| 354 | - | o7.BrickColor = BrickColor.new("Really black")
|
| 354 | + | o7.BrickColor = BrickColor.new("Really red")
|
| 355 | o7.Position = Vector3.new(40.7249794, 41.5910759, 30.0701752) | |
| 356 | o7.Rotation = Vector3.new(-76.9300003, 7.42999983, -150.850006) | |
| 357 | o7.CanCollide = false | |
| 358 | o7.Size = Vector3.new(0.475034833, 0.28180027, 0.475034803) | |
| 359 | o7.CFrame = CFrame.new(40.7249794, 41.5910759, 30.0701752, -0.866031826, 0.482966542, 0.129353046, -6.39967693e-05, -0.258817375, 0.965920091, 0.499985963, 0.836509347, 0.224175021) | |
| 360 | o7.BottomSurface = Enum.SurfaceType.Smooth | |
| 361 | o7.TopSurface = Enum.SurfaceType.Smooth | |
| 362 | o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 363 | o7.Position = Vector3.new(40.7249794, 41.5910759, 30.0701752) | |
| 364 | o7.Orientation = Vector3.new(-75, 29.9899998, -179.990005) | |
| 365 | o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 366 | o8.Parent = o7 | |
| 367 | o8.MeshType = Enum.MeshType.Sphere | |
| 368 | o9.Name = "Body" | |
| 369 | o9.Parent = o2 | |
| 370 | o9.Material = Enum.Material.SmoothPlastic | |
| 371 | - | o9.BrickColor = BrickColor.new("Pastel violet")
|
| 371 | + | o9.BrickColor = BrickColor.new("Deep red")
|
| 372 | o9.Position = Vector3.new(41.2507362, 41.315731, 30.9957008) | |
| 373 | o9.Rotation = Vector3.new(0, 0, -90) | |
| 374 | o9.CanCollide = true | |
| 375 | o9.Shape = Enum.PartType.Ball | |
| 376 | o9.Size = Vector3.new(2.20000005, 2.20000005, 2.20000005) | |
| 377 | o9.CFrame = CFrame.new(41.2507362, 41.315731, 30.9957008, 0, 1, 0, -0.99999404, 0, 0, 0, 0, 0.99999404) | |
| 378 | o9.BottomSurface = Enum.SurfaceType.Smooth | |
| 379 | o9.TopSurface = Enum.SurfaceType.Smooth | |
| 380 | o9.Color = Color3.new(0.694118, 0.654902, 1) | |
| 381 | o9.Position = Vector3.new(41.2507362, 41.315731, 30.9957008) | |
| 382 | o9.Orientation = Vector3.new(0, 0, -90) | |
| 383 | o9.Color = Color3.new(0.694118, 0.654902, 1) | |
| 384 | o10.Parent = o9 | |
| 385 | o10.MeshType = Enum.MeshType.Sphere | |
| 386 | o11.Parent = o9 | |
| 387 | o11.C1 = CFrame.new(-0.000122070313, 0.0352706909, 0.398948669, 0, -1, 0, 0.99619478, 0, 0.087155968, -0.0871559754, 0, 0.99619478) | |
| 388 | o11.Part0 = o9 | |
| 389 | o11.Part1 = o3 | |
| 390 | o12.Parent = o9 | |
| 391 | o12.C1 = CFrame.new(0.00745391846, 1.07928467, 0.00952148438, 6.39971477e-05, -0.866031826, 0.499988943, 0.258818924, 0.482966542, 0.836514354, -0.965925872, 0.129353046, 0.224176362) | |
| 392 | o12.Part0 = o9 | |
| 393 | o12.Part1 = o5 | |
| 394 | o13.Parent = o9 | |
| 395 | o13.C1 = CFrame.new(0.00745010376, 1.0994072, 0.00952529907, 6.39971477e-05, -0.866031826, 0.499988943, 0.258818924, 0.482966542, 0.836514354, -0.965925872, 0.129353046, 0.224176362) | |
| 396 | o13.Part0 = o9 | |
| 397 | o13.Part1 = o7 | |
| 398 | o14.Parent = o9 | |
| 399 | o14.C1 = CFrame.new(-0.075553894, 1.11166954, 0.012802124, 2.7999451e-05, -0.819151461, -0.573577344, 0.258819044, -0.554027259, 0.791243672, -0.965925932, -0.148474872, 0.211996466) | |
| 400 | o14.Part0 = o9 | |
| 401 | o14.Part1 = o18 | |
| 402 | o15.Parent = o9 | |
| 403 | o15.C1 = CFrame.new(-0.075553894, 1.09154701, 0.0128059387, 2.7999451e-05, -0.819151461, -0.573577344, 0.258819044, -0.554027259, 0.791243672, -0.965925932, -0.148474872, 0.211996466) | |
| 404 | o15.Part0 = o9 | |
| 405 | o15.Part1 = o16 | |
| 406 | o16.Name = "RightEye" | |
| 407 | o16.Parent = o2 | |
| 408 | o16.Material = Enum.Material.SmoothPlastic | |
| 409 | o16.BrickColor = BrickColor.new("Institutional white")
| |
| 410 | o16.Position = Vector3.new(41.7954941, 41.5858727, 30.0859756) | |
| 411 | o16.Rotation = Vector3.new(-77.6200027, -8.53999996, 145.929993) | |
| 412 | o16.CanCollide = false | |
| 413 | o16.Size = Vector3.new(0.523343444, 0.161028728, 0.523343384) | |
| 414 | o16.CFrame = CFrame.new(41.7954941, 41.5858727, 30.0859756, -0.819151461, -0.554027259, -0.148474872, -2.79992837e-05, -0.258817494, 0.96592015, -0.573573947, 0.791238964, 0.211995199) | |
| 415 | o16.BottomSurface = Enum.SurfaceType.Smooth | |
| 416 | o16.TopSurface = Enum.SurfaceType.Smooth | |
| 417 | o16.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
| 418 | o16.Position = Vector3.new(41.7954941, 41.5858727, 30.0859756) | |
| 419 | o16.Orientation = Vector3.new(-75, -35.0099983, -179.990005) | |
| 420 | o16.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
| 421 | o17.Parent = o16 | |
| 422 | o17.Scale = Vector3.new(1, 0.5, 1) | |
| 423 | o17.Scale = Vector3.new(1, 0.5, 1) | |
| 424 | o18.Name = "RightEye" | |
| 425 | o18.Parent = o2 | |
| 426 | o18.Material = Enum.Material.SmoothPlastic | |
| 427 | - | o18.BrickColor = BrickColor.new("Really black")
|
| 427 | + | o18.BrickColor = BrickColor.new("Really red")
|
| 428 | o18.Position = Vector3.new(41.8066406, 41.5910835, 30.070055) | |
| 429 | o18.Rotation = Vector3.new(-77.6200027, -8.53999996, 145.929993) | |
| 430 | o18.CanCollide = false | |
| 431 | o18.Size = Vector3.new(0.475034833, 0.28180027, 0.475034803) | |
| 432 | o18.CFrame = CFrame.new(41.8066406, 41.5910835, 30.070055, -0.819151461, -0.554027259, -0.148474872, -2.79992837e-05, -0.258817494, 0.96592015, -0.573573947, 0.791238964, 0.211995199) | |
| 433 | o18.BottomSurface = Enum.SurfaceType.Smooth | |
| 434 | o18.TopSurface = Enum.SurfaceType.Smooth | |
| 435 | o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 436 | o18.Position = Vector3.new(41.8066406, 41.5910835, 30.070055) | |
| 437 | o18.Orientation = Vector3.new(-75, -35.0099983, -179.990005) | |
| 438 | o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 439 | o19.Parent = o18 | |
| 440 | o19.MeshType = Enum.MeshType.Sphere | |
| 441 | o20.Name = "LeftLeg" | |
| 442 | o20.Parent = o1 | |
| 443 | o20.Material = Enum.Material.SmoothPlastic | |
| 444 | - | o20.BrickColor = BrickColor.new("Br. yellowish green")
|
| 444 | + | o20.BrickColor = BrickColor.new("Bright blue")
|
| 445 | o20.Position = Vector3.new(40.7198524, 40.2564392, 30.8562965) | |
| 446 | o20.Rotation = Vector3.new(3.66000009, 34.9399986, -92.0999985) | |
| 447 | o20.CanCollide = false | |
| 448 | o20.Shape = Enum.PartType.Cylinder | |
| 449 | o20.Size = Vector3.new(0.886163473, 0.322241277, 0.322241277) | |
| 450 | o20.CFrame = CFrame.new(40.7198524, 40.2564392, 30.8562965, -0.0299750194, 0.81917119, 0.572765291, -0.99862355, 5.18225133e-05, -0.0523359403, -0.0429017916, -0.573545694, 0.818042159) | |
| 451 | o20.BottomSurface = Enum.SurfaceType.Smooth | |
| 452 | o20.TopSurface = Enum.SurfaceType.Smooth | |
| 453 | o20.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 454 | o20.Position = Vector3.new(40.7198524, 40.2564392, 30.8562965) | |
| 455 | o20.Orientation = Vector3.new(3, 35, -90) | |
| 456 | o20.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 457 | o21.Parent = o20 | |
| 458 | o21.C1 = CFrame.new(-0.46603775, 0.0105266571, 0.0930404663, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957) | |
| 459 | o21.Part0 = o20 | |
| 460 | o21.Part1 = o31 | |
| 461 | o22.Parent = o20 | |
| 462 | o22.C1 = CFrame.new(-0.466033936, 0.0105266571, 0.415275574, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957) | |
| 463 | o22.Part0 = o20 | |
| 464 | o22.Part1 = o32 | |
| 465 | o23.Parent = o20 | |
| 466 | o23.C1 = CFrame.new(-0.4662323, 0.0106258392, 0.254005432, 0.99862957, -1.04652224e-06, 0.0523359068, 1.14181512e-06, 1, -1.79089352e-06, -0.0523359068, 1.84819726e-06, 0.99862957) | |
| 467 | o23.Part0 = o20 | |
| 468 | o23.Part1 = o30 | |
| 469 | o24.Name = "RightLeg" | |
| 470 | o24.Parent = o1 | |
| 471 | o24.Material = Enum.Material.SmoothPlastic | |
| 472 | - | o24.BrickColor = BrickColor.new("Br. yellowish green")
|
| 472 | + | o24.BrickColor = BrickColor.new("Bright blue")
|
| 473 | o24.Position = Vector3.new(41.8304482, 40.2564392, 30.8562965) | |
| 474 | o24.Rotation = Vector3.new(3.66000009, 34.9399986, -92.0999985) | |
| 475 | o24.CanCollide = false | |
| 476 | o24.Shape = Enum.PartType.Cylinder | |
| 477 | o24.Size = Vector3.new(0.886163473, 0.322241277, 0.322241277) | |
| 478 | o24.CFrame = CFrame.new(41.8304482, 40.2564392, 30.8562965, -0.0299750194, 0.81917119, 0.572765291, -0.99862355, 5.18225133e-05, -0.0523359403, -0.0429017916, -0.573545694, 0.818042159) | |
| 479 | o24.BottomSurface = Enum.SurfaceType.Smooth | |
| 480 | o24.TopSurface = Enum.SurfaceType.Smooth | |
| 481 | o24.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 482 | o24.Position = Vector3.new(41.8304482, 40.2564392, 30.8562965) | |
| 483 | o24.Orientation = Vector3.new(3, 35, -90) | |
| 484 | o24.Color = Color3.new(0.643137, 0.741176, 0.278431) | |
| 485 | o25.Parent = o24 | |
| 486 | o25.C1 = CFrame.new(-0.485366821, 0.0691261292, 0.214134216, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311) | |
| 487 | o25.Part0 = o24 | |
| 488 | o25.Part1 = o33 | |
| 489 | o26.Parent = o24 | |
| 490 | o26.C1 = CFrame.new(-0.485172272, 0.0690345764, 0.0531692505, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311) | |
| 491 | o26.Part0 = o24 | |
| 492 | o26.Part1 = o28 | |
| 493 | o27.Parent = o24 | |
| 494 | o27.C1 = CFrame.new(-0.485176086, 0.0690345764, 0.375404358, 0.99467051, -0.00457840692, 0.103003114, -0.0906269997, 0.437566251, 0.894607544, -0.0491665602, -0.899174571, 0.434819311) | |
| 495 | o27.Part0 = o24 | |
| 496 | o27.Part1 = o29 | |
| 497 | o28.Name = "RightShoe" | |
| 498 | o28.Parent = o1 | |
| 499 | o28.Material = Enum.Material.SmoothPlastic | |
| 500 | o28.BrickColor = BrickColor.new("Black")
| |
| 501 | o28.Position = Vector3.new(41.8083229, 39.7674866, 30.7978382) | |
| 502 | o28.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018) | |
| 503 | o28.CanCollide = false | |
| 504 | o28.Shape = Enum.PartType.Cylinder | |
| 505 | o28.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
| 506 | o28.CFrame = CFrame.new(41.8083229, 39.7674866, 30.7978382, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527) | |
| 507 | o28.BottomSurface = Enum.SurfaceType.Smooth | |
| 508 | o28.TopSurface = Enum.SurfaceType.Smooth | |
| 509 | o28.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 510 | o28.Position = Vector3.new(41.8083229, 39.7674866, 30.7978382) | |
| 511 | o28.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979) | |
| 512 | o28.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 513 | o29.Name = "RightShoe" | |
| 514 | o29.Parent = o1 | |
| 515 | o29.Material = Enum.Material.SmoothPlastic | |
| 516 | o29.BrickColor = BrickColor.new("Black")
| |
| 517 | o29.Position = Vector3.new(41.9649467, 39.7590103, 30.5163574) | |
| 518 | o29.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018) | |
| 519 | o29.CanCollide = false | |
| 520 | o29.Shape = Enum.PartType.Cylinder | |
| 521 | o29.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
| 522 | o29.CFrame = CFrame.new(41.9649467, 39.7590103, 30.5163574, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527) | |
| 523 | o29.BottomSurface = Enum.SurfaceType.Smooth | |
| 524 | o29.TopSurface = Enum.SurfaceType.Smooth | |
| 525 | o29.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 526 | o29.Position = Vector3.new(41.9649467, 39.7590103, 30.5163574) | |
| 527 | o29.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979) | |
| 528 | o29.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 529 | o30.Name = "LeftShoe" | |
| 530 | o30.Parent = o1 | |
| 531 | o30.Material = Enum.Material.SmoothPlastic | |
| 532 | o30.BrickColor = BrickColor.new("Black")
| |
| 533 | o30.Position = Vector3.new(40.5654831, 39.7902107, 30.6543045) | |
| 534 | o30.Rotation = Vector3.new(0, 35, -90) | |
| 535 | o30.CanCollide = false | |
| 536 | o30.Size = Vector3.new(0.161120623, 0.523642004, 0.362521499) | |
| 537 | o30.CFrame = CFrame.new(40.5654831, 39.7902107, 30.6543045, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349) | |
| 538 | o30.BottomSurface = Enum.SurfaceType.Smooth | |
| 539 | o30.TopSurface = Enum.SurfaceType.Smooth | |
| 540 | o30.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 541 | o30.Position = Vector3.new(40.5654831, 39.7902107, 30.6543045) | |
| 542 | o30.Orientation = Vector3.new(0, 35, -90) | |
| 543 | o30.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 544 | o31.Name = "LeftShoe" | |
| 545 | o31.Parent = o1 | |
| 546 | o31.Material = Enum.Material.SmoothPlastic | |
| 547 | o31.BrickColor = BrickColor.new("Black")
| |
| 548 | o31.Position = Vector3.new(40.6578865, 39.7904053, 30.7861042) | |
| 549 | o31.Rotation = Vector3.new(0, 35, -90) | |
| 550 | o31.CanCollide = false | |
| 551 | o31.Shape = Enum.PartType.Cylinder | |
| 552 | o31.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
| 553 | o31.CFrame = CFrame.new(40.6578865, 39.7904053, 30.7861042, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349) | |
| 554 | o31.BottomSurface = Enum.SurfaceType.Smooth | |
| 555 | o31.TopSurface = Enum.SurfaceType.Smooth | |
| 556 | o31.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 557 | o31.Position = Vector3.new(40.6578865, 39.7904053, 30.7861042) | |
| 558 | o31.Orientation = Vector3.new(0, 35, -90) | |
| 559 | o31.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 560 | o32.Name = "LeftShoe" | |
| 561 | o32.Parent = o1 | |
| 562 | o32.Material = Enum.Material.SmoothPlastic | |
| 563 | o32.BrickColor = BrickColor.new("Black")
| |
| 564 | o32.Position = Vector3.new(40.4730682, 39.7904091, 30.5221405) | |
| 565 | o32.Rotation = Vector3.new(0, 35, -90) | |
| 566 | o32.CanCollide = false | |
| 567 | o32.Shape = Enum.PartType.Cylinder | |
| 568 | o32.Size = Vector3.new(0.161120623, 0.523642004, 0.523642063) | |
| 569 | o32.CFrame = CFrame.new(40.4730682, 39.7904091, 30.5221405, 4.13935632e-05, 0.819170117, 0.573550642, -0.999994099, 5.07759978e-05, -3.46451998e-07, -2.94223428e-05, -0.573547244, 0.819165349) | |
| 570 | o32.BottomSurface = Enum.SurfaceType.Smooth | |
| 571 | o32.TopSurface = Enum.SurfaceType.Smooth | |
| 572 | o32.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 573 | o32.Position = Vector3.new(40.4730682, 39.7904091, 30.5221405) | |
| 574 | o32.Orientation = Vector3.new(0, 35, -90) | |
| 575 | o32.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 576 | o33.Name = "RightShoe" | |
| 577 | o33.Parent = o1 | |
| 578 | o33.Material = Enum.Material.SmoothPlastic | |
| 579 | o33.BrickColor = BrickColor.new("Black")
| |
| 580 | o33.Position = Vector3.new(41.8864861, 39.7630539, 30.657196) | |
| 581 | o33.Rotation = Vector3.new(-1.72000003, -29.0799999, -88.3300018) | |
| 582 | o33.CanCollide = false | |
| 583 | o33.Size = Vector3.new(0.161120623, 0.523642004, 0.362521499) | |
| 584 | o33.CFrame = CFrame.new(41.8864861, 39.7630539, 30.657196, 0.0254308432, 0.873558402, -0.486054718, -0.998692393, 0.0437048003, 0.0262956135, 0.0442136675, 0.484750509, 0.873527527) | |
| 585 | o33.BottomSurface = Enum.SurfaceType.Smooth | |
| 586 | o33.TopSurface = Enum.SurfaceType.Smooth | |
| 587 | o33.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 588 | o33.Position = Vector3.new(41.8864861, 39.7630539, 30.657196) | |
| 589 | o33.Orientation = Vector3.new(-1.50999999, -29.0900002, -87.4899979) | |
| 590 | o33.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 591 | mas.Parent = c | |
| 592 | mas:MakeJoints() | |
| 593 | ||
| 594 | sine = 0 | |
| 595 | Humanoid.WalkSpeed = 16 anim.Parent = nil | |
| 596 | ||
| 597 | local Music = Instance.new("Sound",o9)Music.SoundId = "rbxassetid://382403699" Music.Volume = 0.5 Music.Looped = true Music:Play()
| |
| 598 | ||
| 599 | local HW = Instance.new("Weld",c.Torso)HW.Part0 = c.Torso HW.Part1 = o9 HW.C0 = CFrame.Angles(0,0,math.rad(-90))
| |
| 600 | local RW = Instance.new("Weld",c["Right Leg"])RW.Part0 = c["Right Leg"] RW.Part1 = o24 RW.C0 = CFrame.Angles(0,math.rad(65),math.rad(-90))
| |
| 601 | local LW = Instance.new("Weld",c["Left Leg"])LW.Part0 = c["Left Leg"] LW.Part1 = o20 LW.C0 = CFrame.Angles(0,math.rad(0),math.rad(-90))
| |
| 602 | ||
| 603 | local rolling = false | |
| 604 | local deb = true | |
| 605 | local ctrl = {f = 0, b = 0, l = 0, r = 0}
| |
| 606 | local lastctrl = {f = 0, b = 0, l = 0, r = 0}
| |
| 607 | local maxspeed = 25 | |
| 608 | local speed = 0 | |
| 609 | ||
| 610 | SonicShoe = false | |
| 611 | function Sanic() | |
| 612 | if SonicShoe == false then SonicShoe = true Humanoid.WalkSpeed = 36 | |
| 613 | Music.SoundId = "rbxassetid://149103854" | |
| 614 | o30.BrickColor = BrickColor.new("Bright red")
| |
| 615 | o31.BrickColor = BrickColor.new("Bright red")
| |
| 616 | o32.BrickColor = BrickColor.new("Bright red")
| |
| 617 | o33.BrickColor = BrickColor.new("Bright red")
| |
| 618 | o29.BrickColor = BrickColor.new("Bright red")
| |
| 619 | o28.BrickColor = BrickColor.new("Bright red")
| |
| 620 | o24.BrickColor = BrickColor.new("White")
| |
| 621 | o20.BrickColor = BrickColor.new("White")
| |
| 622 | o9.BrickColor = BrickColor.new("Bright blue")
| |
| 623 | elseif SonicShoe == true then SonicShoe = false Humanoid.WalkSpeed = 16 | |
| 624 | Music.SoundId = "rbxassetid://382403699" | |
| 625 | o30.BrickColor = BrickColor.new("Black")
| |
| 626 | o31.BrickColor = BrickColor.new("Black")
| |
| 627 | o32.BrickColor = BrickColor.new("Black")
| |
| 628 | o33.BrickColor = BrickColor.new("Black")
| |
| 629 | o29.BrickColor = BrickColor.new("Black")
| |
| 630 | o28.BrickColor = BrickColor.new("Black")
| |
| 631 | - | o24.BrickColor = BrickColor.new("Br. yellowish green")
|
| 631 | + | o24.BrickColor = BrickColor.new("Bright blue")
|
| 632 | - | o20.BrickColor = BrickColor.new("Br. yellowish green")
|
| 632 | + | o20.BrickColor = BrickColor.new("Bright blue")
|
| 633 | - | o9.BrickColor = BrickColor.new("Pastel violet")
|
| 633 | + | o9.BrickColor = BrickColor.new("Deep red")
|
| 634 | end | |
| 635 | end | |
| 636 | function StartRoll() | |
| 637 | if rolling == false then | |
| 638 | rolling = true | |
| 639 | for i = 1,10 do | |
| 640 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 641 | lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 642 | lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 643 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 644 | lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 645 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 646 | lerpz(RH, "C0", RHC0 * cf(0, 2.8, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
| 647 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 648 | lerpz(LH, "C0", LHC0 * cf(0, 2.8, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
| 649 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 650 | swait() | |
| 651 | end attack = true | |
| 652 | else | |
| 653 | rolling = false attack = false | |
| 654 | end | |
| 655 | end | |
| 656 | ||
| 657 | mousedown = false | |
| 658 | mouse.Button1Down:connect(function() | |
| 659 | if rolling == true then | |
| 660 | local BP = Instance.new("BodyPosition",o9)BP.Position = mouse.hit.p BP.P = 2500 BP.maxForce = Vector3.new(math.huge,0,math.huge)
| |
| 661 | BP.Name = "RollPos" mousedown = true | |
| 662 | while mousedown == true do | |
| 663 | Humanoid.PlatformStand = true | |
| 664 | BP.Position = mouse.hit.p | |
| 665 | swait() | |
| 666 | end | |
| 667 | BP:remove() | |
| 668 | end | |
| 669 | end) | |
| 670 | ||
| 671 | mouse.Button1Up:connect(function() | |
| 672 | mousedown = false | |
| 673 | end) | |
| 674 | ||
| 675 | StuckToHead = false | |
| 676 | function HeadStick() | |
| 677 | if StuckToHead == false then StuckToHead = true | |
| 678 | local We | |
| 679 | for i,v in pairs(game.Workspace:children()) do | |
| 680 | if v:findFirstChild("Head")~= nil and v ~= c then
| |
| 681 | if (v.Head.Position-o9.Position).magnitude <= 5 then | |
| 682 | We = Instance.new("Weld",v.Head)We.Part0 = v.Head We.Part1 = o9 We.C0 = CFrame.Angles(0,0,math.rad(-90))
| |
| 683 | end | |
| 684 | end | |
| 685 | end | |
| 686 | while StuckToHead == true do | |
| 687 | Humanoid.PlatformStand = true | |
| 688 | swait() | |
| 689 | end | |
| 690 | We:remove() | |
| 691 | else StuckToHead = false | |
| 692 | end | |
| 693 | end | |
| 694 | function BEES() | |
| 695 | attack = true | |
| 696 | local S = Instance.new("Sound",o9)S.SoundId = "rbxassetid://502284205" S.Volume = 1 S:Play()
| |
| 697 | for i = 1,25 do | |
| 698 | lerpz(RJ, "C0", RJC0 * cf(math.random(-5,5)/10, math.random(-5,5)/10, math.random(-5,5)/10) * ang(rd(0), rd(0), rd(0)), 1) | |
| 699 | swait() | |
| 700 | end | |
| 701 | attack = false | |
| 702 | end | |
| 703 | ||
| 704 | function Radio() | |
| 705 | if c:findFirstChild("Radio")== nil then
| |
| 706 | local Rad = Instance.new("Part",c)Rad.Name = "Radio" Rad.Size = Vector3.new(0.2,0.2,0.2) Rad.CanCollide = false
| |
| 707 | local RadM = Instance.new("SpecialMesh",Rad)RadM.MeshId = "rbxassetid://151760030" RadM.TextureId = "rbxassetid://151760072"
| |
| 708 | local RW = Instance.new("Weld",c.HumanoidRootPart)RW.Part0 = c.HumanoidRootPart RW.Part1 = Rad RW.C0 = CFrame.new(0,1.5,0)
| |
| 709 | local S = Instance.new("Sound",Rad)S.SoundId = "rbxassetid://2743313997" S.Volume = 7 S:Play() Music.Volume = 0
| |
| 710 | else | |
| 711 | c.Radio:remove() Music.Volume = 0.5 | |
| 712 | end | |
| 713 | end | |
| 714 | ||
| 715 | function Microphone() | |
| 716 | if c:findFirstChild("Microphone")== nil then
| |
| 717 | local Rad = Instance.new("Part",c)Rad.Name = "Microphone" Rad.Size = Vector3.new(0.2,0.2,0.2) Rad.CanCollide = false
| |
| 718 | local RadM = Instance.new("SpecialMesh",Rad)RadM.MeshId = "rbxassetid://151760030" RadM.TextureId = "rbxassetid://151760072"
| |
| 719 | local RW = Instance.new("Weld",c.HumanoidRootPart)RW.Part0 = c.HumanoidRootPart RW.Part1 = Rad RW.C0 = CFrame.new(0,1.5,0)
| |
| 720 | local S = Instance.new("Sound",Rad)S.SoundId = "rbxassetid://1608398085" S.Volume = 7 S:Play() Music.Volume = 0
| |
| 721 | else | |
| 722 | c.Radio:remove() Music.Volume = 0.5 | |
| 723 | end | |
| 724 | end | |
| 725 | ||
| 726 | mouse.KeyDown:connect(function(key) | |
| 727 | if Humanoid.Health <= 0 then return end | |
| 728 | if key == "q" then | |
| 729 | StartRoll() | |
| 730 | end | |
| 731 | if key == "v" then | |
| 732 | Radio() | |
| 733 | end | |
| 734 | if key == "x" then | |
| 735 | HeadStick() | |
| 736 | end | |
| 737 | if key == "b" then | |
| 738 | Microphone() | |
| 739 | end | |
| 740 | if key == "c" then | |
| 741 | Sanic() | |
| 742 | end | |
| 743 | if attack == true then return end | |
| 744 | if key == "z" then | |
| 745 | BEES() | |
| 746 | end | |
| 747 | end) | |
| 748 | ||
| 749 | function onKeyPress(inputObject, gameProcessedEvent) | |
| 750 | if isTyping == true then return end | |
| 751 | if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 1 end | |
| 752 | if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = -1 end | |
| 753 | if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = -1 end | |
| 754 | if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 1 end | |
| 755 | end | |
| 756 | game:GetService("UserInputService").InputBegan:connect(onKeyPress)
| |
| 757 | ||
| 758 | function onKeyLift(inputObject, gameProcessedEvent) | |
| 759 | if isTyping == true then return end | |
| 760 | if inputObject.KeyCode == Enum.KeyCode.W then ctrl.f = 0 end | |
| 761 | if inputObject.KeyCode == Enum.KeyCode.S then ctrl.b = 0 end | |
| 762 | if inputObject.KeyCode == Enum.KeyCode.A then ctrl.l = 0 end | |
| 763 | if inputObject.KeyCode == Enum.KeyCode.D then ctrl.r = 0 end | |
| 764 | end | |
| 765 | ||
| 766 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 767 | Humanoid.MaxHealth = Humanoid.MaxHealth*2 | |
| 768 | Humanoid.Health = Humanoid.MaxHealth*2 | |
| 769 | --game.Workspace.CurrentCamera.FieldOfView = (math.cos(sine/50)*15) | |
| 770 | if attack == false then | |
| 771 | for i,v in pairs (c:children()) do | |
| 772 | if v.ClassName == "Accessory" then | |
| 773 | for i,v2 in pairs (v:children()) do | |
| 774 | if v2.ClassName == "Part" then | |
| 775 | v2.Anchored = false | |
| 776 | end | |
| 777 | end | |
| 778 | end | |
| 779 | end | |
| 780 | for i,v in pairs (c:children()) do | |
| 781 | if v.ClassName == "Part" then | |
| 782 | v.Anchored = false | |
| 783 | end | |
| 784 | end | |
| 785 | ||
| 786 | if (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 4 then | |
| 787 | sine = sine + 1 Humanoid.HipHeight = -1.75 | |
| 788 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1-(math.cos(sine/10)*0.1)) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 789 | lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 790 | lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 791 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 792 | lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 793 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 794 | lerpz(RH, "C0", RHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
| 795 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 796 | lerpz(LH, "C0", LHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5) | |
| 797 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 798 | else Humanoid.HipHeight = -1.75 sine = sine + 1 | |
| 799 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.1-(math.cos(sine/10)*0.1)) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 800 | lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 801 | lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 802 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 803 | lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 804 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 805 | lerpz(RH, "C0", RHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 806 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 807 | lerpz(LH, "C0", LHC0 * cf(0, 1.35+(math.cos(sine/10)*0.1), 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 808 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 809 | end | |
| 810 | end | |
| 811 | end) |