SHOW:
|
|
- or go back to the newest paste.
| 1 | ------------------------------- | |
| 2 | -----SO BASICALLY IM JEVIL----- | |
| 3 | ------------------------------- | |
| 4 | ||
| 5 | --The original script is made by mrfunnylaughs4. This edit is by youngmacka123. | |
| 6 | ||
| 7 | - | --V4-- |
| 7 | + | --V3-- |
| 8 | ||
| 9 | - | forcefield = Instance.new("ForceField")
|
| 9 | + | |
| 10 | - | forcefield.Visible = false |
| 10 | + | |
| 11 | - | forcefield.Parent = owner.Character |
| 11 | + | |
| 12 | local idleanim = Instance.new("Animation")
| |
| 13 | idleanim.Name = "Roblox Idle Animation" | |
| 14 | idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 15 | local idleanimplay = hum:LoadAnimation(idleanim) | |
| 16 | idleanimplay:Play() | |
| 17 | wait(0.1) | |
| 18 | if char:FindFirstChild("Animate") then
| |
| 19 | char.Animate:Destroy() | |
| 20 | end | |
| 21 | local remote = Instance.new("RemoteEvent", char)
| |
| 22 | remote.Name = "ReplicationEvent" | |
| 23 | local client = NLS([==[ | |
| 24 | local mouse = game:GetService("Players").LocalPlayer:GetMouse()
| |
| 25 | local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
| |
| 26 | spawn(function() | |
| 27 | while game:GetService("RunService").Heartbeat:Wait() do
| |
| 28 | remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
| |
| 29 | end | |
| 30 | end) | |
| 31 | game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
| |
| 32 | if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then | |
| 33 | remote:FireServer(1, input.KeyCode) | |
| 34 | end | |
| 35 | end) | |
| 36 | mouse.Button1Down:Connect(function() | |
| 37 | remote:FireServer(2) | |
| 38 | end) | |
| 39 | remote.OnClientEvent:Connect(function() | |
| 40 | - | if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
|
| 40 | + | |
| 41 | - | do |
| 41 | + | |
| 42 | - | script.Parent = owner.Character |
| 42 | + | |
| 43 | - | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
|
| 43 | + | |
| 44 | - | local function NewFakeEvent() |
| 44 | + | |
| 45 | - | local Bind = Instance.new("BindableEvent")
|
| 45 | + | |
| 46 | - | local Fake;Fake = {Connections = {},
|
| 46 | + | |
| 47 | - | fakeEvent=true; |
| 47 | + | |
| 48 | - | Connect=function(self,Func) |
| 48 | + | |
| 49 | - | Bind.Event:connect(Func) |
| 49 | + | |
| 50 | - | self.Connections[Bind] = true |
| 50 | + | |
| 51 | - | return setmetatable({Connected = true},{
|
| 51 | + | |
| 52 | - | __index = function (self,Index) |
| 52 | + | |
| 53 | - | if Index:lower() == "disconnect" then |
| 53 | + | |
| 54 | - | return function() Fake.Connections[Bind] = false;self.Connected = false end |
| 54 | + | |
| 55 | - | end |
| 55 | + | |
| 56 | - | return Fake[Index] |
| 56 | + | |
| 57 | - | end; |
| 57 | + | |
| 58 | - | __tostring = function() return "Connection" end; |
| 58 | + | |
| 59 | - | }) |
| 59 | + | |
| 60 | - | end} |
| 60 | + | |
| 61 | - | Fake.connect = Fake.Connect;return Fake; |
| 61 | + | |
| 62 | - | end |
| 62 | + | |
| 63 | - | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
|
| 63 | + | |
| 64 | - | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
|
| 64 | + | |
| 65 | - | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
|
| 65 | + | |
| 66 | - | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
|
| 66 | + | |
| 67 | - | end};ContextActionService.UnBindAction = ContextActionService.BindAction |
| 67 | + | |
| 68 | - | local function TriggerEvent(self,Event,...) |
| 68 | + | |
| 69 | - | local Trigger = Mouse[Event] |
| 69 | + | |
| 70 | - | if Trigger and Trigger.fakeEvent and Trigger.Connections then |
| 70 | + | |
| 71 | - | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end |
| 71 | + | |
| 72 | - | end |
| 72 | + | text.Text = "SO BASICALLY IM J_EVIL" |
| 73 | - | end |
| 73 | + | |
| 74 | - | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent |
| 74 | + | |
| 75 | - | Event.OnServerEvent:Connect(function(FiredBy,Input) |
| 75 | + | |
| 76 | - | if FiredBy.Name ~= owner.Name then return end |
| 76 | + | |
| 77 | - | if Input.MouseEvent then |
| 77 | + | text.TextColor3 = Color3.new(123, 47, 123) |
| 78 | - | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit |
| 78 | + | |
| 79 | - | else |
| 79 | + | |
| 80 | - | local Begin = Input.UserInputState == Enum.UserInputState.Begin |
| 80 | + | char = game.Players.TameDoNotClick.Character |
| 81 | - | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end |
| 81 | + | |
| 82 | - | for _,Action in pairs(ContextActionService.Actions) do |
| 82 | + | |
| 83 | - | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end |
| 83 | + | |
| 84 | - | end |
| 84 | + | |
| 85 | - | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) |
| 85 | + | |
| 86 | - | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) |
| 86 | + | |
| 87 | - | end |
| 87 | + | |
| 88 | - | end) |
| 88 | + | |
| 89 | - | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService |
| 89 | + | |
| 90 | - | Event.Parent = NLS([[ |
| 90 | + | |
| 91 | - | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
|
| 91 | + | |
| 92 | - | local Input = function(Input,gameProcessedEvent) |
| 92 | + | |
| 93 | - | if gameProcessedEvent then return end |
| 93 | + | |
| 94 | - | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
|
| 94 | + | |
| 95 | - | end |
| 95 | + | |
| 96 | - | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) |
| 96 | + | |
| 97 | - | local Hit,Target |
| 97 | + | |
| 98 | - | while wait(1/30) do |
| 98 | + | |
| 99 | - | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then |
| 99 | + | |
| 100 | - | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
|
| 100 | + | |
| 101 | - | end |
| 101 | + | |
| 102 | - | end |
| 102 | + | |
| 103 | - | ]],owner.Character) |
| 103 | + | |
| 104 | mesh.Scale = Vector3.new(1,1,1) | |
| 105 | - | RealGame = game;game = setmetatable({},{
|
| 105 | + | |
| 106 | - | __index = function (self,Index) |
| 106 | + | |
| 107 | - | local Sandbox = function (Thing) |
| 107 | + | |
| 108 | - | if Thing:IsA("Player") then
|
| 108 | + | |
| 109 | - | local RealPlayer = Thing |
| 109 | + | |
| 110 | - | return setmetatable({},{
|
| 110 | + | |
| 111 | - | __index = function (self,Index) |
| 111 | + | |
| 112 | - | local Type = type(RealPlayer[Index]) |
| 112 | + | char:FindFirstChild("Shirt"):Destroy()
|
| 113 | - | if Type == "function" then |
| 113 | + | char:FindFirstChild("Pants"):Destroy()
|
| 114 | - | if Index:lower() == "getmouse" or Index:lower() == "mouse" then |
| 114 | + | |
| 115 | - | return function (self)return InternalData["Mouse"] end |
| 115 | + | shirt = Instance.new("Shirt")
|
| 116 | - | end |
| 116 | + | shirt.Parent = char |
| 117 | - | return function (self,...)return RealPlayer[Index](RealPlayer,...) end |
| 117 | + | shirt.Name = "Jevil Shirt" |
| 118 | - | end |
| 118 | + | shirt.ShirtTemplate = "rbxassetid://2616334189" |
| 119 | - | return RealPlayer[Index] |
| 119 | + | pants = Instance.new("Pants")
|
| 120 | - | end; |
| 120 | + | pants.Parent = char |
| 121 | - | __tostring = function(self) return RealPlayer.Name end |
| 121 | + | pants.Name = "Jevil Pants" |
| 122 | - | }) |
| 122 | + | pants.PantsTemplate = "http://www.roblox.com/asset/?id=2616204122" |
| 123 | - | end |
| 123 | + | |
| 124 | - | end |
| 124 | + | char.Head.face.Texture = "rbxassetid://1111587497" |
| 125 | - | if RealGame[Index] then |
| 125 | + | |
| 126 | - | local Type = type(RealGame[Index]) |
| 126 | + | |
| 127 | - | if Type == "function" then |
| 127 | + | |
| 128 | - | if Index:lower() == "getservice" or Index:lower() == "service" then |
| 128 | + | |
| 129 | - | return function (self,Service) |
| 129 | + | |
| 130 | - | local FakeServices = {
|
| 130 | + | |
| 131 | - | ["players"] = function() |
| 131 | + | |
| 132 | - | return setmetatable({},{
|
| 132 | + | |
| 133 | - | __index = function (self2,Index2) |
| 133 | + | |
| 134 | - | local RealService = RealGame:GetService(Service) |
| 134 | + | |
| 135 | - | local Type2 = type(Index2) |
| 135 | + | |
| 136 | - | if Type2 == "function" then |
| 136 | + | |
| 137 | - | return function (self,...) return RealService[Index2](RealService,...)end |
| 137 | + | |
| 138 | - | else |
| 138 | + | |
| 139 | - | if Index2:lower() == "localplayer" then return Sandbox(owner) end |
| 139 | + | |
| 140 | - | return RealService[Index2] |
| 140 | + | |
| 141 | - | end |
| 141 | + | |
| 142 | - | end; |
| 142 | + | |
| 143 | - | __tostring = function(self) return RealGame:GetService(Service).Name end |
| 143 | + | |
| 144 | - | }) |
| 144 | + | |
| 145 | - | end; |
| 145 | + | |
| 146 | - | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; |
| 146 | + | |
| 147 | - | ["userinputservice"] = function() return InternalData["UserInputService"] end; |
| 147 | + | |
| 148 | - | ["runservice"] = function() |
| 148 | + | |
| 149 | - | return setmetatable({},{
|
| 149 | + | |
| 150 | - | __index = function(self2,Index2) |
| 150 | + | |
| 151 | - | local RealService = RealGame:GetService(Service) |
| 151 | + | |
| 152 | - | local Type2 = type(Index2) |
| 152 | + | local mesh = Instance.new("SpecialMesh", banpart)
|
| 153 | - | if Type2 == "function" then |
| 153 | + | |
| 154 | - | return function (self,...) return RealService[Index2](RealService,...) end |
| 154 | + | mesh.MeshId = "rbxassetid://28937301" |
| 155 | - | else |
| 155 | + | mesh.TextureId = "rbxassetid://28937670" |
| 156 | - | local RunServices = {
|
| 156 | + | mesh.Scale = Vector3.new(0.8, 0.8, 0.8) |
| 157 | - | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
|
| 157 | + | local weld = Instance.new("Weld", banpart)
|
| 158 | - | ["renderstepped"] = function() return RealService["Stepped"] end |
| 158 | + | weld.Part0 = char["Left Arm"] |
| 159 | - | } |
| 159 | + | weld.Part1 = banpart |
| 160 | - | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end |
| 160 | + | weld.C1 = CFrame.new(0, 1, 0) |
| 161 | - | return RealService[Index2] |
| 161 | + | |
| 162 | - | end |
| 162 | + | |
| 163 | - | end |
| 163 | + | |
| 164 | - | }) |
| 164 | + | |
| 165 | - | end |
| 165 | + | |
| 166 | - | } |
| 166 | + | |
| 167 | - | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end |
| 167 | + | |
| 168 | - | return RealGame:GetService(Service) |
| 168 | + | |
| 169 | - | end |
| 169 | + | |
| 170 | - | end |
| 170 | + | |
| 171 | - | return function (self,...) return RealGame[Index](RealGame,...) end |
| 171 | + | |
| 172 | - | else |
| 172 | + | |
| 173 | - | if game:GetService(Index) then return game:GetService(Index) end |
| 173 | + | |
| 174 | - | return RealGame[Index] |
| 174 | + | |
| 175 | - | end |
| 175 | + | |
| 176 | - | end |
| 176 | + | |
| 177 | - | return nil |
| 177 | + | |
| 178 | - | end |
| 178 | + | |
| 179 | - | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
|
| 179 | + | weld:Destroy() |
| 180 | banpart.CanCollide = true | |
| 181 | - | Torso = char.Torso |
| 181 | + | |
| 182 | local start = LS.C0 | |
| 183 | for i = 1, 0, -1 / 15 do | |
| 184 | game:GetService("RunService").Heartbeat:Wait()
| |
| 185 | LS.C0 = LSnor:Lerp(start, i * i) | |
| 186 | end | |
| 187 | normalanim = true | |
| 188 | attackd = false | |
| 189 | hum.WalkSpeed = 16 | |
| 190 | hum.JumpPower = 50 | |
| 191 | banpart.Touched:Connect(function(hit) | |
| 192 | if hit.Parent and game:GetService("Players"):FindFirstChild(hit.Parent.Name) then
| |
| 193 | local character = hit.Parent | |
| 194 | character:FindFirstChildOfClass("Humanoid").Sit = true
| |
| 195 | local s = Instance.new("Sound", character.Head)
| |
| 196 | s.SoundId = "rbxassetid://28976727" | |
| 197 | s.Volume = 10 | |
| 198 | s:Play() | |
| 199 | end | |
| 200 | end) | |
| 201 | spawn(function() | |
| 202 | wait(15) | |
| 203 | if banpart.Parent == workspace then | |
| 204 | banpart:Destroy() | |
| 205 | end | |
| 206 | end) | |
| 207 | end | |
| 208 | if key == Enum.KeyCode.X then | |
| 209 | attackd = true | |
| 210 | local bpart = Instance.new("Part", workspace)
| |
| 211 | bpart.Size = Vector3.new(2.4, 3.5, 2.4) | |
| 212 | - | text.Text = "J҉ E҉ V҉ I҉ L҉ HEALTH: " ..owner.Character.Humanoid.Health .. " / " ..owner.Character.Humanoid.MaxHealth |
| 212 | + | |
| 213 | bpart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2) | |
| 214 | bpart.Velocity = Vector3.new(0, 50, 0) + char.HumanoidRootPart.CFrame.LookVector * 50 | |
| 215 | local mesh = Instance.new("SpecialMesh", bpart)
| |
| 216 | mesh.MeshType = "FileMesh" | |
| 217 | - | text.TextColor3 = Color3.new(255, 50, 0) |
| 217 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=29873142" |
| 218 | mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 219 | mesh.TextureId = "http://www.roblox.com/asset/?id=31082268" | |
| 220 | - | Character = char |
| 220 | + | local update = 0.4 |
| 221 | while update > 0.1 do | |
| 222 | - | for i,v in pairs(Character:children()) do |
| 222 | + | local sound = Instance.new("Sound", bpart)
|
| 223 | - | if v:IsA("Hat") then
|
| 223 | + | sound.SoundId = "rbxasset://sounds\\clickfast.wav" |
| 224 | - | v:Destroy() |
| 224 | + | sound.Volume = 5 |
| 225 | sound:Play() | |
| 226 | wait(update) | |
| 227 | - | for i,v in pairs(Character:children()) do |
| 227 | + | update = update * 0.9 |
| 228 | - | if v:IsA("Accessory") then
|
| 228 | + | |
| 229 | - | v:Destroy() |
| 229 | + | for i = 1, 50 do |
| 230 | local banpart = Instance.new("Part", workspace)
| |
| 231 | banpart.Size = Vector3.new(1, 1, 1) | |
| 232 | - | for i,v in pairs(Character:children()) do |
| 232 | + | banpart.CanCollide = true |
| 233 | - | if v:IsA("Hair") then
|
| 233 | + | banpart.CFrame = bpart.CFrame |
| 234 | - | v:Destroy() |
| 234 | + | local bCFrame = CFrame.new(0, 0, 0) |
| 235 | local bVel = Vector3.new(0, 0, 0) | |
| 236 | local mesh = Instance.new("SpecialMesh", banpart)
| |
| 237 | - | for i,v in pairs(Character:children()) do |
| 237 | + | mesh.MeshType = "FileMesh" |
| 238 | - | if v:IsA("Shirt") then
|
| 238 | + | mesh.MeshId = "rbxassetid://28937301" |
| 239 | - | v:Destroy() |
| 239 | + | mesh.TextureId = "rbxassetid://28937670" |
| 240 | mesh.Scale = Vector3.new(0.8, 0.8, 0.8) | |
| 241 | local weld = Instance.new("Weld", banpart)
| |
| 242 | - | for i,v in pairs(Character:children()) do |
| 242 | + | weld.Part0 = bpart |
| 243 | - | if v:IsA("Pants") then
|
| 243 | + | weld.Part1 = banpart |
| 244 | - | v:Destroy() |
| 244 | + | spawn(function() |
| 245 | wait(1) | |
| 246 | banpart.Touched:Connect(function(hit) | |
| 247 | - | for i,v in pairs(Character:children()) do |
| 247 | + | if hit.Parent and game:GetService("Players"):FindFirstChild(hit.Parent.Name) then
|
| 248 | - | if v:IsA("Graphic Shirt") then
|
| 248 | + | local character = hit.Parent |
| 249 | - | v:Destroy() |
| 249 | + | character:FindFirstChildOfClass("Humanoid").Sit = true
|
| 250 | local s = Instance.new("Sound", character.Head)
| |
| 251 | s.SoundId = "rbxassetid://28976727" | |
| 252 | - | for i,v in pairs(Character:children()) do |
| 252 | + | s.Volume = 10 |
| 253 | - | if v:IsA("GraphicShirt") then
|
| 253 | + | s:Play() |
| 254 | - | v:Destroy() |
| 254 | + | end |
| 255 | end) | |
| 256 | end) | |
| 257 | spawn(function() | |
| 258 | - | for _,v in pairs(Character:children()) do |
| 258 | + | while wait() do |
| 259 | - | if v:IsA("Shirt") then
|
| 259 | + | if banpart.Parent ~= workspace then |
| 260 | - | v.ShirtTemplate = "rbxassetid://0" |
| 260 | + | banpart = Instance.new("Part", workspace)
|
| 261 | - | elseif v:IsA("Pants") then
|
| 261 | + | banpart.Size = Vector3.new(1, 1, 1) |
| 262 | - | v.PantsTemplate = "rbxassetid://0" |
| 262 | + | banpart.CanCollide = true |
| 263 | - | elseif v:IsA("ShirtGraphic") then
|
| 263 | + | mesh = Instance.new("SpecialMesh", banpart)
|
| 264 | - | v:Remove() |
| 264 | + | mesh.MeshType = "FileMesh" |
| 265 | - | wait(.1) |
| 265 | + | mesh.MeshId = "rbxassetid://28937301" |
| 266 | - | Torso.roblox:Remove() |
| 266 | + | mesh.TextureId = "rbxassetid://28937670" |
| 267 | - | elseif v:IsA("Accessory") then
|
| 267 | + | mesh.Scale = Vector3.new(0.8, 0.8, 0.8) |
| 268 | - | v:Remove() |
| 268 | + | banpart.CFrame = bCFrame |
| 269 | banpart.Velocity = bVel | |
| 270 | banpart.Touched:Connect(function(hit) | |
| 271 | if hit.Parent and game:GetService("Players"):FindFirstChild(hit.Parent.Name) then
| |
| 272 | - | shirt = "rbxassetid://2616334189" |
| 272 | + | local character = hit.Parent |
| 273 | - | pants = "http://www.roblox.com/asset/?id=2616204122" |
| 273 | + | character:FindFirstChildOfClass("Humanoid").Sit = true
|
| 274 | local s = Instance.new("Sound", character.Head)
| |
| 275 | - | knuckles1 = Instance.new("Shirt")
|
| 275 | + | s.SoundId = "rbxassetid://28976727" |
| 276 | - | knuckles1.Parent = char |
| 276 | + | s.Volume = 10 |
| 277 | - | knuckles1.ShirtTemplate = shirt |
| 277 | + | s:Play() |
| 278 | - | knuckles2 = Instance.new("Pants")
|
| 278 | + | end |
| 279 | - | knuckles2.Parent = char |
| 279 | + | end) |
| 280 | - | knuckles2.PantsTemplate = pants |
| 280 | + | else |
| 281 | bCFrame = banpart.CFrame | |
| 282 | - | char = owner.Character |
| 282 | + | bVel = banpart.Velocity |
| 283 | end | |
| 284 | end | |
| 285 | end) | |
| 286 | end | |
| 287 | local explosion = Instance.new("Explosion", bpart)
| |
| 288 | explosion.Position = bpart.Position | |
| 289 | local sound2 = Instance.new("Sound", bpart)
| |
| 290 | sound2.SoundId = "rbxasset://sounds\\Rocket shot.wav" | |
| 291 | sound2.Volume = 5 | |
| 292 | sound2:Play() | |
| 293 | bpart.CanCollide = false | |
| 294 | attackd = false | |
| 295 | end | |
| 296 | if key == Enum.KeyCode.C then | |
| 297 | sine = 0 | |
| 298 | attackd = true | |
| 299 | normalanim = false | |
| 300 | hum.WalkSpeed = 0 | |
| 301 | hum.JumpPower = 0 | |
| 302 | for i = 1, 20 do | |
| 303 | game:GetService("RunService").Heartbeat:Wait()
| |
| 304 | rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15) | |
| 305 | RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, 4), 0.15) | |
| 306 | LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, -4), 0.15) | |
| 307 | RH.C0 = RH.C0:Lerp(RHnor, 0.15) | |
| 308 | LH.C0 = LH.C0:Lerp(LHnor, 0.15) | |
| 309 | end | |
| 310 | local tpart = Instance.new("Part", char)
| |
| 311 | tpart.Size = Vector3.new(5.523, 6.19, 22.966) | |
| 312 | tpart.Anchored = true | |
| 313 | tpart.BrickColor = BrickColor.new("Pine Cone")
| |
| 314 | tpart.Material = "Wood" | |
| 315 | - | char.Head.face.Texture = "rbxassetid://1111587497" |
| 315 | + | |
| 316 | tpart.CFrame = char["Right Arm"].CFrame * CFrame.Angles(math.pi, -math.pi / 2, 0) * CFrame.new(0, 4, 1) | |
| 317 | - | hum.MaxHealth = 1000 |
| 317 | + | |
| 318 | - | hum.Health = 1000 |
| 318 | + | |
| 319 | mesh.MeshId = "rbxassetid://1760841786" | |
| 320 | wait(0.5) | |
| 321 | for i = 1, 15 do | |
| 322 | game:GetService("RunService").Heartbeat:Wait()
| |
| 323 | - | mouse = game.Players.LocalPlayer:GetMouse() |
| 323 | + | |
| 324 | LS.C0 = LS.C0:Lerp(LS.C0 * CFrame.Angles(0, 0, 0.01), i) | |
| 325 | RH.C0 = RH.C0:Lerp(RHnor, 0.15) | |
| 326 | LH.C0 = LH.C0:Lerp(LHnor, 0.15) | |
| 327 | tpart.CFrame = char["Right Arm"].CFrame * CFrame.Angles(math.pi, -math.pi / 2, 0) * CFrame.new(0, 4, 1) | |
| 328 | end | |
| 329 | tpart.Anchored = false | |
| 330 | tpart.Velocity = char.HumanoidRootPart.CFrame.LookVector * 100 | |
| 331 | - | hum.WalkSpeed = 10 |
| 331 | + | |
| 332 | - | hum.JumpPower = 80 |
| 332 | + | |
| 333 | spawn(function() | |
| 334 | wait(0.3) | |
| 335 | tpart.Touched:Connect(function(hit) | |
| 336 | if hit.Size.X + hit.Size.Y + hit.Size.Z < 1000 then | |
| 337 | hit:BreakJoints() | |
| 338 | hit.Anchored = false | |
| 339 | hit.Velocity = tpart.Velocity | |
| 340 | end | |
| 341 | end) | |
| 342 | end) | |
| 343 | for i = 1, 20 do | |
| 344 | game:GetService("RunService").Heartbeat:Wait()
| |
| 345 | rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15) | |
| 346 | RS.C0 = RS.C0:Lerp(RSnor, 0.15) | |
| 347 | LS.C0 = LS.C0:Lerp(LSnor, 0.15) | |
| 348 | - | banpart.Shape = "Ball" |
| 348 | + | |
| 349 | - | banpart.Material = "Neon" |
| 349 | + | |
| 350 | - | banpart.Position = owner.Character["Left Arm"].Position |
| 350 | + | |
| 351 | - | weld = Instance.new("Weld",banpart)
|
| 351 | + | |
| 352 | - | weld.Part0 = banpart |
| 352 | + | |
| 353 | - | weld.Part1 = owner.Character["Left Arm"] |
| 353 | + | |
| 354 | hum.JumpPower = 50 | |
| 355 | end | |
| 356 | elseif Player.Name == plr.Name and number == 2 and throw == true and throwbutton == true then | |
| 357 | throwbutton = false | |
| 358 | throw = false | |
| 359 | end | |
| 360 | end) | |
| 361 | ||
| 362 | --------------------------------- | |
| 363 | -----------Wrapping up----------- | |
| 364 | --------------------------------- | |
| 365 | ||
| 366 | while game:GetService("RunService").Heartbeat:Wait() do
| |
| 367 | if normalanim then | |
| 368 | sine = sine + 1 | |
| 369 | end | |
| 370 | if crabrave.Parent == char.Torso then | |
| 371 | - | weld:Destroy() |
| 371 | + | |
| 372 | crabrave.Playing = true | |
| 373 | crabrave.Volume = 1 | |
| 374 | crabrave.Looped = true | |
| 375 | - | banpart.Size = Vector3.new(10, 10, 10) |
| 375 | + | |
| 376 | else | |
| 377 | crabrave = Instance.new("Sound", char.Torso)
| |
| 378 | crabrave.TimePosition = timepos | |
| 379 | end | |
| 380 | if remote.Parent == char then | |
| 381 | remote.Name = "ReplicationEvent" | |
| 382 | else | |
| 383 | remote = Instance.new("RemoteEvent", char)
| |
| 384 | end | |
| 385 | local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char) | |
| 386 | - | if hit.Name == "Base" then |
| 386 | + | |
| 387 | - | |
| 387 | + | |
| 388 | - | else |
| 388 | + | |
| 389 | - | hit:Destroy() |
| 389 | + | |
| 390 | elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then | |
| 391 | animpose = "Falling" | |
| 392 | else | |
| 393 | animpose = "Idle" | |
| 394 | end | |
| 395 | if animpose == "Idle" and normalanim then | |
| 396 | RS.C0 = RSnor * CFrame.Angles(0, 0, 1 + math.sin(sine / 5)) | |
| 397 | LS.C0 = LSnor * CFrame.Angles(0, 0, -1 + math.sin(sine / 5)) | |
| 398 | RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0) | |
| 399 | LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0) | |
| 400 | rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2) | |
| 401 | elseif animpose == "Walking" and normalanim then | |
| 402 | RS.C0 = RSnor * CFrame.Angles(0, 0, 1 + math.sin(sine / 5)) | |
| 403 | LS.C0 = LSnor * CFrame.Angles(0, 0, -1 + math.sin(sine / 5)) | |
| 404 | RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, math.sin(sine / 10)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0) | |
| 405 | - | bpart.CFrame = char.HumanoidRootPart.CFrame |
| 405 | + | LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.sin(sine / 10)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0) |
| 406 | - | bpart.BrickColor = BrickColor.new("White")
|
| 406 | + | |
| 407 | - | bpart.Transparency = 0.7 |
| 407 | + | |
| 408 | rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15) | |
| 409 | RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.15) | |
| 410 | - | mesh.MeshId = "rbxassetid://2620904945" |
| 410 | + | |
| 411 | RH.C0 = RH.C0:Lerp(RHnor, 0.15) | |
| 412 | - | local epart = Instance.new("Part", workspace)
|
| 412 | + | |
| 413 | - | epart.Size = Vector3.new(10, 10, 10) |
| 413 | + | |
| 414 | - | epart.Material = "Neon" |
| 414 | + | |
| 415 | - | epart.CanCollide = false |
| 415 | + | |
| 416 | - | epart.Anchored = true |
| 416 | + | |
| 417 | - | epart.Locked = true |
| 417 | + | |
| 418 | - | epart.Shape = "Ball" |
| 418 | + | |
| 419 | - | epart.CFrame = char.HumanoidRootPart.CFrame |
| 419 | + | |
| 420 | - | epart.BrickColor = BrickColor.new("White")
|
| 420 | + |