SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").Rohan_Kishiba
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | --By Rufus14 | |
| 88 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 89 | function sandbox(var,func) | |
| 90 | local env = getfenv(func) | |
| 91 | local newenv = setmetatable({},{
| |
| 92 | __index = function(self,k) | |
| 93 | if k=="script" then | |
| 94 | return var | |
| 95 | else | |
| 96 | return env[k] | |
| 97 | end | |
| 98 | end, | |
| 99 | }) | |
| 100 | setfenv(func,newenv) | |
| 101 | return func | |
| 102 | end | |
| 103 | cors = {}
| |
| 104 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 105 | Part0 = Instance.new("Part")
| |
| 106 | SpecialMesh1 = Instance.new("SpecialMesh")
| |
| 107 | Attachment2 = Instance.new("Attachment")
| |
| 108 | Attachment3 = Instance.new("Attachment")
| |
| 109 | Attachment4 = Instance.new("Attachment")
| |
| 110 | Attachment5 = Instance.new("Attachment")
| |
| 111 | Part0.Name = "Katana" | |
| 112 | Part0.Parent = mas | |
| 113 | Part0.BrickColor = BrickColor.new("Dark stone grey")
| |
| 114 | Part0.Rotation = Vector3.new(-110.909996, -14.0299997, -57.5999985) | |
| 115 | Part0.FormFactor = Enum.FormFactor.Custom | |
| 116 | Part0.Size = Vector3.new(0.200000003, 0.100000851, 4.6999979) | |
| 117 | Part0.CFrame = CFrame.new(5.1301012, 4.3172431, -13.3496962, 0.51984179, 0.819148481, -0.242405802, 0.422617286, 3.61466164e-07, 0.906308353, 0.742401004, -0.573581874, -0.346186072) | |
| 118 | Part0.BottomSurface = Enum.SurfaceType.Smooth | |
| 119 | Part0.TopSurface = Enum.SurfaceType.Smooth | |
| 120 | Part0.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 121 | Part0.Position = Vector3.new(5.1301012, 4.3172431, -13.3496962) | |
| 122 | Part0.Orientation = Vector3.new(-65, -145, 90) | |
| 123 | Part0.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 124 | SpecialMesh1.Parent = Part0 | |
| 125 | SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=11442510" | |
| 126 | SpecialMesh1.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005) | |
| 127 | SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=11442524" | |
| 128 | SpecialMesh1.MeshType = Enum.MeshType.FileMesh | |
| 129 | SpecialMesh1.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005) | |
| 130 | Attachment5.Name = "Attachment" | |
| 131 | Attachment5.Parent = Part0 | |
| 132 | Attachment5.CFrame = CFrame.new(-5.569309e-07, -1.49011612e-07, 2.49999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 133 | Attachment5.Position = Vector3.new(-5.569309e-07, -1.49011612e-07, 2.49999976) | |
| 134 | Attachment4.Parent = Part0 | |
| 135 | Attachment4.CFrame = CFrame.new(-3.29315662e-06, 3.53716314e-06, -1.10000086, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 136 | Attachment4.Position = Vector3.new(-3.29315662e-06, 3.53716314e-06, -1.10000086) | |
| 137 | Attachment4.Parent = Part0 | |
| 138 | Attachment4.CFrame = CFrame.new(-3.29315662e-06, 3.53716314e-06, -1.10000086, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 139 | Attachment4.Position = Vector3.new(-3.29315662e-06, 3.53716314e-06, -1.10000086) | |
| 140 | Attachment5.Name = "Attachment1" | |
| 141 | Attachment5.Parent = Part0 | |
| 142 | Attachment5.CFrame = CFrame.new(-5.569309e-07, -1.49011612e-07, 2.49999976, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 143 | Attachment5.Position = Vector3.new(-5.569309e-07, -1.49011612e-07, 2.49999976) | |
| 144 | for i,v in pairs(mas:GetChildren()) do | |
| 145 | v.Parent = game:GetService("Players").Rohan_Kishiba.Character
| |
| 146 | pcall(function() v:MakeJoints() end) | |
| 147 | end | |
| 148 | mas:Destroy() | |
| 149 | for i,v in pairs(cors) do | |
| 150 | spawn(function() | |
| 151 | pcall(v) | |
| 152 | end) | |
| 153 | end | |
| 154 | Part0:BreakJoints() | |
| 155 | canwalk = true | |
| 156 | local rhandclone = game.Players.Rohan_Kishiba.Character.Torso["Right Shoulder"]:Clone() | |
| 157 | local rhandweld = Instance.new("Weld", game.Players.Rohan_Kishiba.Character.Torso)
| |
| 158 | rhandweld.Part0 = game.Players.Rohan_Kishiba.Character.Torso | |
| 159 | rhandweld.Part1 = game.Players.Rohan_Kishiba.Character["Right Arm"] | |
| 160 | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
| 161 | local lhandclone = game.Players.Rohan_Kishiba.Character.Torso["Left Shoulder"]:Clone() | |
| 162 | local lhandweld = Instance.new("Weld", game.Players.Rohan_Kishiba.Character.Torso)
| |
| 163 | lhandweld.Part0 = game.Players.Rohan_Kishiba.Character.Torso | |
| 164 | lhandweld.Part1 = game.Players.Rohan_Kishiba.Character["Left Arm"] | |
| 165 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
| 166 | local llegclone = game.Players.Rohan_Kishiba.Character.Torso["Left Hip"]:Clone() | |
| 167 | game.Players.Rohan_Kishiba.Character.Torso["Left Hip"]:Remove() | |
| 168 | local llegweld = Instance.new("Weld", game.Players.Rohan_Kishiba.Character.Torso)
| |
| 169 | llegweld.Part0 = game.Players.Rohan_Kishiba.Character.Torso | |
| 170 | llegweld.Part1 = game.Players.Rohan_Kishiba.Character["Left Leg"] | |
| 171 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0) | |
| 172 | local rlegclone = game.Players.Rohan_Kishiba.Character.Torso["Right Hip"]:Clone() | |
| 173 | game.Players.Rohan_Kishiba.Character.Torso["Right Hip"]:Remove() | |
| 174 | local rlegweld = Instance.new("Weld", game.Players.Rohan_Kishiba.Character.Torso)
| |
| 175 | rlegweld.Part0 = game.Players.Rohan_Kishiba.Character.Torso | |
| 176 | rlegweld.Part1 = game.Players.Rohan_Kishiba.Character["Right Leg"] | |
| 177 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0) | |
| 178 | local rootjointclone = game.Players.Rohan_Kishiba.Character.HumanoidRootPart.RootJoint:Clone() | |
| 179 | game.Players.Rohan_Kishiba.Character.HumanoidRootPart.RootJoint:Remove() | |
| 180 | local humanoidrootpart = Instance.new("Weld", game.Players.Rohan_Kishiba.Character.Torso)
| |
| 181 | humanoidrootpart.Part0 = game.Players.Rohan_Kishiba.Character.HumanoidRootPart | |
| 182 | humanoidrootpart.Part1 = game.Players.Rohan_Kishiba.Character.Torso | |
| 183 | local heed = game.Players.Rohan_Kishiba.Character.Torso["Neck"]:Clone() | |
| 184 | local headweld = Instance.new("Weld", game.Players.Rohan_Kishiba.Character.Torso)
| |
| 185 | headweld.Part0 = game.Players.Rohan_Kishiba.Character.Torso | |
| 186 | headweld.Part1 = game.Players.Rohan_Kishiba.Character.Head | |
| 187 | headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0) | |
| 188 | game.Players.Rohan_Kishiba.Character.Torso.Neck:Remove() | |
| 189 | Part0.CanCollide = false | |
| 190 | using = false | |
| 191 | slashval = 0 | |
| 192 | local swoosh = Instance.new("Sound", Part0)
| |
| 193 | swoosh.Volume = 10 | |
| 194 | swoosh.SoundId = "rbxassetid://1112042117" | |
| 195 | swoosh.PlaybackSpeed = 2 | |
| 196 | local hit1 = Instance.new("Sound", Part0)
| |
| 197 | hit1.Volume = 10 | |
| 198 | hit1.SoundId = "rbxassetid://220834000" | |
| 199 | local hit11 = Instance.new("Sound", Part0)
| |
| 200 | hit11.Volume = 10 | |
| 201 | hit11.SoundId = "rbxassetid://220833976" | |
| 202 | local hit111 = Instance.new("Sound", Part0)
| |
| 203 | hit111.Volume = 10 | |
| 204 | hit111.SoundId = "rbxassetid://220834019" | |
| 205 | local hit1111 = Instance.new("Sound", Part0)
| |
| 206 | hit1111.Volume = 10 | |
| 207 | hit1111.SoundId = "rbxassetid://220833967" | |
| 208 | local welded = Instance.new("Weld", game.Players.Rohan_Kishiba.Character["Right Arm"])
| |
| 209 | welded.Part0 = game.Players.Rohan_Kishiba.Character["Right Arm"] | |
| 210 | welded.Part1 = Part0 | |
| 211 | welded.C0 = CFrame.new(2.90870667e-05, -1.00003433, -1.76998043, 3.48827803e-06, 0.999993622, 1.11844793e-06, 0.999994636, -6.09856488e-06, -1.73907235e-08, 1.42558235e-06, -5.02059891e-07, -0.999994695) | |
| 212 | function block(key) | |
| 213 | key = key:lower() | |
| 214 | if key == "q" then | |
| 215 | canwalk = false | |
| 216 | using = true | |
| 217 | hp = game.Players.Rohan_Kishiba.Character.Humanoid.Health | |
| 218 | maxhp = game.Players.Rohan_Kishiba.Character.Humanoid.MaxHealth | |
| 219 | game.Players.Rohan_Kishiba.Character.Humanoid.MaxHealth = math.huge | |
| 220 | game.Players.Rohan_Kishiba.Character.Humanoid.Health = math.huge | |
| 221 | game.Players.Rohan_Kishiba.Character.Humanoid.WalkSpeed = 0 | |
| 222 | game.Players.Rohan_Kishiba.Character.Humanoid.JumpPower = 0 | |
| 223 | ff = Instance.new("ForceField", game.Players.Rohan_Kishiba.Character)
| |
| 224 | ff.Visible = false | |
| 225 | for i = 0,0.7 , 0.03 do | |
| 226 | welded.C0 = welded.C0:lerp(CFrame.new(0.284156799, 0.36516571, -1.94937825, -0.0683778524, -0.995965302, 0.0581266545, -0.762119114, 0.0897441804, 0.641186953, -0.643816173, -0.000456497073, -0.765180826),i) | |
| 227 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.50000024, 0, 0.906307876, 2.65673535e-22, -0.422617942, -1.08395635e-22, 1, 3.96182153e-22, 0.422617942, -3.13253081e-22, 0.906307876),i) | |
| 228 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0):inverse(),i) | |
| 229 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
| 230 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i) | |
| 231 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(0.815580368, 0.66998291, -0.560562134, 0.776800871, -0.602075934, -0.184622467, -0.623220742, -0.777068436, -0.0880940408, -0.0904249921, 0.183492064, -0.978853703),i) | |
| 232 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5073452, 0.701468706, -0.965937614, -0.0512250289, -0.409358144, 0.910934985, 0.0288530104, -0.912358105, -0.408375204, 0.998270571, 0.00536418287, 0.058546789),i) | |
| 233 | - | game:GetService("RunService").RenderStepped:wait()
|
| 233 | + | game:GetService("RunService").Stepped:wait()
|
| 234 | end | |
| 235 | end | |
| 236 | end | |
| 237 | function unblock(key) | |
| 238 | key = key:lower() | |
| 239 | if key == "q" then | |
| 240 | canwalk = true | |
| 241 | using = false | |
| 242 | ff:Remove() | |
| 243 | game.Players.Rohan_Kishiba.Character.Humanoid.WalkSpeed = 16 | |
| 244 | game.Players.Rohan_Kishiba.Character.Humanoid.JumpPower = 50 | |
| 245 | game.Players.Rohan_Kishiba.Character.Humanoid.MaxHealth = maxhp | |
| 246 | game.Players.Rohan_Kishiba.Character.Humanoid.Health = hp | |
| 247 | end | |
| 248 | end | |
| 249 | mouse.KeyDown:connect(block) | |
| 250 | mouse.KeyUp:connect(unblock) | |
| 251 | function slash() | |
| 252 | if not using then | |
| 253 | using = true | |
| 254 | canwalk = false | |
| 255 | if slashval > 3 then | |
| 256 | slashval = 0 | |
| 257 | end | |
| 258 | if slashval == 0 then | |
| 259 | slashval = slashval + 1 | |
| 260 | swoosh:Play() | |
| 261 | local trail = Instance.new("Trail", Part0)
| |
| 262 | trail.Attachment0 = Attachment4 | |
| 263 | trail.Attachment1 = Attachment5 | |
| 264 | trail.Lifetime = 0.05 | |
| 265 | for i = 0,1 , 0.25 do | |
| 266 | welded.C0 = welded.C0:lerp(CFrame.new(-0.0285909176, -0.964775562, -1.62501633, 2.65673535e-22, 1, 5.23747954e-22, 1, -2.65673535e-22, -3.13253081e-22, -3.13253081e-22, 5.23747954e-22, -1),i) | |
| 267 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866024196, 2.65673535e-22, -0.500002146, -7.34524923e-23, 1, 4.04122082e-22, 0.500002146, -3.13253081e-22, 0.866024196),i) | |
| 268 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.499998987, -4.04121804e-22, -0.866025984, 2.65673535e-22, 1, -3.13253081e-22, 0.866025984, -7.34539565e-23, 0.499998987):inverse(),i) | |
| 269 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.84204149, 0.124492884, -1.00376318e-21, 0.939692736, 0.342019886, -5.23747954e-22, -0.342019916, 0.939692736, 3.13253081e-22, 5.99300937e-22, -1.1522943e-22, 1),i) | |
| 270 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.00925922, 0.485242128, -1.20619643, 2.65673535e-22, 0.422617942, 0.906307876, 1, 1.71625336e-22, -3.73168367e-22, -3.13253081e-22, 0.906307876, -0.422617942),i) | |
| 271 | - | game:GetService("RunService").RenderStepped:wait()
|
| 271 | + | game:GetService("RunService").Stepped:wait()
|
| 272 | end | |
| 273 | local sensorpart = Instance.new("Part", Part0)
| |
| 274 | sensorpart.Size = Vector3.new(0.5,4.5,0.3) | |
| 275 | sensorpart.Transparency = 1 | |
| 276 | sensorpart:BreakJoints() | |
| 277 | sensorpart.CanCollide = false | |
| 278 | local weld1 = Instance.new("Weld", sensorpart)
| |
| 279 | weld1.Part0 = sensorpart | |
| 280 | weld1.Part1 = Part0 | |
| 281 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0,0,-2.5) | |
| 282 | local function dmg(part) | |
| 283 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 284 | local torso = part.Parent:findFirstChild("Torso")
| |
| 285 | local uppertorso = part.Parent:findFirstChild("UpperTorso")
| |
| 286 | if humanoid then | |
| 287 | humanoid.Health = humanoid.Health - math.random(50,60) | |
| 288 | local hitvalrandom = math.random(1,4) | |
| 289 | if hitvalrandom == 1 then | |
| 290 | hit1:Play() | |
| 291 | end | |
| 292 | if hitvalrandom == 2 then | |
| 293 | hit11:Play() | |
| 294 | end | |
| 295 | if hitvalrandom == 3 then | |
| 296 | hit111:Play() | |
| 297 | end | |
| 298 | if hitvalrandom == 4 then | |
| 299 | hit1111:Play() | |
| 300 | end | |
| 301 | for i = 1,50 do | |
| 302 | if torso then | |
| 303 | torso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 30 | |
| 304 | elseif uppertorso then | |
| 305 | uppertorso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 30 | |
| 306 | end | |
| 307 | end | |
| 308 | end | |
| 309 | end | |
| 310 | sensorpart.Touched:connect(dmg) | |
| 311 | for i = 0,1 , 0.25 do | |
| 312 | welded.C0 = welded.C0:lerp(CFrame.new(-0.0285909176, -2.71455145, -0.90740478, -2.73476154e-29, 1, -2.2947362e-29, 0.500000417, 2.5243549e-29, -0.866025686, -0.866025686, 2.5243549e-29, -0.500000417),i) | |
| 313 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i) | |
| 314 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.707106352, 3.36441351e-23, 0.707107365, 2.65673535e-22, 1, -3.13253081e-22, -0.707107365, 4.09362971e-22, 0.707106352):inverse(),i) | |
| 315 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.95282686, 0.177967548, -5.57488633e-23, 0.499999106, 0.866026163, 0, -0.866025984, 0.499998987, 3.13253182e-22, 2.71285302e-22, -1.56626225e-22, 1.00000024),i) | |
| 316 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.91089821, 0.485242128, -0.752363503, 2.65673535e-22, -0.573576987, 0.819151998, 1, 4.08986135e-22, -3.79522244e-23, -3.13253081e-22, 0.819151998, 0.573576987),i) | |
| 317 | - | game:GetService("RunService").RenderStepped:wait()
|
| 317 | + | game:GetService("RunService").Stepped:wait()
|
| 318 | end | |
| 319 | sensorpart:destroy() | |
| 320 | trail:destroy() | |
| 321 | elseif slashval == 1 then | |
| 322 | slashval = slashval + 1 | |
| 323 | local trail = Instance.new("Trail", Part0)
| |
| 324 | trail.Attachment0 = Attachment4 | |
| 325 | trail.Attachment1 = Attachment5 | |
| 326 | trail.Lifetime = 0.05 | |
| 327 | swoosh:Play() | |
| 328 | for i = 0,1 , 0.25 do | |
| 329 | welded.C0 = welded.C0:lerp(CFrame.new(3.81469727e-05, 0.251302719, -1.5781014, 7.39097595e-06, 1, 2.98023224e-08, 0.766043305, -5.7220459e-06, 0.642789245, 0.642789245, -4.70876694e-06, -0.766043127),i) | |
| 330 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866024196, 2.65673535e-22, -0.500002146, -7.34524923e-23, 1, 4.04122082e-22, 0.500002146, -3.13253081e-22, 0.866024196),i) | |
| 331 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -7.34534137e-23, 0.500000238, 2.65673535e-22, 1, -3.13253081e-22, -0.500000238, 4.04121956e-22, 0.866025388):inverse(),i) | |
| 332 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.07134676, 0.106449842, -1.03622437, 0.765215099, -0.627616405, -0.143330336, 0.396098047, 0.634510398, -0.663704038, 0.507496059, 0.451103479, 0.734134555),i) | |
| 333 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.00207996, 1.1934793, -0.36548233, 0.848145485, -0.505803585, 0.157518297, -0.16016309, -0.528244972, -0.833849609, 0.504972279, 0.68199718, -0.529039621),i) | |
| 334 | - | game:GetService("RunService").RenderStepped:wait()
|
| 334 | + | game:GetService("RunService").Stepped:wait()
|
| 335 | end | |
| 336 | local sensorpart = Instance.new("Part", Part0)
| |
| 337 | sensorpart.Size = Vector3.new(0.5,4.5,0.3) | |
| 338 | sensorpart.Transparency = 1 | |
| 339 | sensorpart:BreakJoints() | |
| 340 | sensorpart.CanCollide = false | |
| 341 | local weld1 = Instance.new("Weld", sensorpart)
| |
| 342 | weld1.Part0 = sensorpart | |
| 343 | weld1.Part1 = Part0 | |
| 344 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0,0,-2.5) | |
| 345 | local function dmg(part) | |
| 346 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 347 | local torso = part.Parent:findFirstChild("Torso")
| |
| 348 | local uppertorso = part.Parent:findFirstChild("UpperTorso")
| |
| 349 | if humanoid then | |
| 350 | humanoid.Health = humanoid.Health - math.random(50,70) | |
| 351 | local hitvalrandom = math.random(1,4) | |
| 352 | if hitvalrandom == 1 then | |
| 353 | hit1:Play() | |
| 354 | end | |
| 355 | if hitvalrandom == 2 then | |
| 356 | hit11:Play() | |
| 357 | end | |
| 358 | if hitvalrandom == 3 then | |
| 359 | hit111:Play() | |
| 360 | end | |
| 361 | if hitvalrandom == 4 then | |
| 362 | hit1111:Play() | |
| 363 | end | |
| 364 | for i = 1,50 do | |
| 365 | if torso then | |
| 366 | torso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 20 | |
| 367 | elseif uppertorso then | |
| 368 | uppertorso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 20 | |
| 369 | end | |
| 370 | end | |
| 371 | end | |
| 372 | end | |
| 373 | sensorpart.Touched:connect(dmg) | |
| 374 | for i = 0,1 , 0.25 do | |
| 375 | welded.C0 = welded.C0:lerp(CFrame.new(2.67028809e-05, -1.67102146, -1.64267159, 2.86474824e-06, 1.00000036, -5.78165054e-06, 0.866025925, -5.39422035e-06, -0.499999285, -0.499999166, -3.54647636e-06, -0.866026163),i) | |
| 376 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i) | |
| 377 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.906308115, -3.73168493e-22, -0.422618032, 2.65673535e-22, 1, -3.13253081e-22, 0.422618032, 1.71625361e-22, 0.906308115):inverse(),i) | |
| 378 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.54232287, 0.0149004459, 0.548013687, 0.989612877, 0.143751666, -0.00144592952, -0.10442698, 0.725734234, 0.680003583, 0.0988010243, -0.672789276, 0.733207405),i) | |
| 379 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.04077673, -0.0431711674, -1.13153744, 0.814213216, 0.260836869, 0.518672585, 0.0643480048, 0.847341299, -0.527135789, -0.576989114, 0.462576419, 0.673132122),i) | |
| 380 | - | game:GetService("RunService").RenderStepped:wait()
|
| 380 | + | game:GetService("RunService").Stepped:wait()
|
| 381 | end | |
| 382 | sensorpart:destroy() | |
| 383 | trail:destroy() | |
| 384 | elseif slashval == 2 then | |
| 385 | slashval = slashval + 1 | |
| 386 | local trail = Instance.new("Trail", Part0)
| |
| 387 | trail.Attachment0 = Attachment4 | |
| 388 | trail.Attachment1 = Attachment5 | |
| 389 | trail.Lifetime = 0.05 | |
| 390 | for i = 0,1 , 0.25 do | |
| 391 | welded.C0 = welded.C0:lerp(CFrame.new(2.67028809e-05, -1.67102146, -1.64267159, 2.86474824e-06, 1.00000036, -5.78165054e-06, 0.866025925, -5.39422035e-06, -0.499999285, -0.499999166, -3.54647636e-06, -0.866026163),i) | |
| 392 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i) | |
| 393 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.422617167, -3.96182102e-22, -0.906308413, 2.65673535e-22, 1, -3.13253081e-22, 0.906308413, -1.08396026e-22, 0.422617167):inverse(),i) | |
| 394 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.90979791, 0.13038063, 0.440188408, 0.918686688, 0.394984841, -0.00144627027, -0.288702846, 0.673977613, 0.680003643, 0.26956588, -0.624292731, 0.733207405),i) | |
| 395 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.16461611, 0.0367743969, -1.00857544, -0.182387009, 0.36743924, 0.911988914, 0.80347389, 0.590319455, -0.0771536753, -0.566713989, 0.718687415, -0.402894437),i) | |
| 396 | - | game:GetService("RunService").RenderStepped:wait()
|
| 396 | + | game:GetService("RunService").Stepped:wait()
|
| 397 | end | |
| 398 | swoosh:Play() | |
| 399 | local sensorpart = Instance.new("Part", Part0)
| |
| 400 | sensorpart.Size = Vector3.new(0.5,4.5,0.3) | |
| 401 | sensorpart.Transparency = 1 | |
| 402 | sensorpart:BreakJoints() | |
| 403 | sensorpart.CanCollide = false | |
| 404 | local weld1 = Instance.new("Weld", sensorpart)
| |
| 405 | weld1.Part0 = sensorpart | |
| 406 | weld1.Part1 = Part0 | |
| 407 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0,0,-2.5) | |
| 408 | local function dmg(part) | |
| 409 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 410 | local torso = part.Parent:findFirstChild("Torso")
| |
| 411 | local uppertorso = part.Parent:findFirstChild("UpperTorso")
| |
| 412 | if humanoid then | |
| 413 | humanoid.Health = humanoid.Health - math.random(50,70) | |
| 414 | local hitvalrandom = math.random(1,4) | |
| 415 | if hitvalrandom == 1 then | |
| 416 | hit1:Play() | |
| 417 | end | |
| 418 | if hitvalrandom == 2 then | |
| 419 | hit11:Play() | |
| 420 | end | |
| 421 | if hitvalrandom == 3 then | |
| 422 | hit111:Play() | |
| 423 | end | |
| 424 | if hitvalrandom == 4 then | |
| 425 | hit1111:Play() | |
| 426 | end | |
| 427 | for i = 1,50 do | |
| 428 | if torso then | |
| 429 | torso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 20 | |
| 430 | elseif uppertorso then | |
| 431 | uppertorso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 20 | |
| 432 | end | |
| 433 | end | |
| 434 | end | |
| 435 | end | |
| 436 | sensorpart.Touched:connect(dmg) | |
| 437 | for i = 0,1 , 0.25 do | |
| 438 | welded.C0 = welded.C0:lerp(CFrame.new(2.76565552e-05, -2.33778858, -0.395505428, -1.06170774e-06, 1, -6.24358654e-06, 0.342021018, -5.51342964e-06, -0.939692378, -0.939692378, -3.14414501e-06, -0.34202092),i) | |
| 439 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i) | |
| 440 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.573576868, 1.04217651e-22, 0.819151819, 2.65673535e-22, 1, -3.13253081e-22, -0.819151819, 3.97301704e-22, 0.573576868):inverse(),i) | |
| 441 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.97148991, -0.0472521782, -0.0644292831, 0.42140922, 0.877809823, -0.227737963, -0.870326281, 0.462037951, 0.170449868, 0.254846126, 0.126377195, 0.958687901),i) | |
| 442 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.04814959, 0.656130075, -0.237668037, -0.0882750377, -0.619352877, 0.780134559, 0.978524327, -0.200378701, -0.0483581237, 0.186273068, 0.759111822, 0.623740256),i) | |
| 443 | - | game:GetService("RunService").RenderStepped:wait()
|
| 443 | + | game:GetService("RunService").Stepped:wait()
|
| 444 | end | |
| 445 | sensorpart:destroy() | |
| 446 | trail:destroy() | |
| 447 | elseif slashval == 3 then | |
| 448 | slashval = slashval + 1 | |
| 449 | local trail = Instance.new("Trail", Part0)
| |
| 450 | trail.Attachment0 = Attachment4 | |
| 451 | trail.Attachment1 = Attachment5 | |
| 452 | trail.Lifetime = 0.05 | |
| 453 | for i = 0,1 , 0.25 do | |
| 454 | welded.C0 = welded.C0:lerp(CFrame.new(-0.947553635, 0.563792229, 0.341335297, -5.99771738e-07, -0.906309485, -0.422615081, 0.342021227, -0.397128254, 0.851651847, -0.939692318, -0.144542873, 0.309977412),i) | |
| 455 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i) | |
| 456 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.573576868, 1.04217651e-22, 0.819151819, 2.65673535e-22, 1, -3.13253081e-22, -0.819151819, 3.97301704e-22, 0.573576868):inverse(),i) | |
| 457 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-2.00824332, 0.0537319183, 0.0275039673, 0.293511003, 0.95308584, -0.0740200728, -0.95290488, 0.297877073, 0.05693518, 0.0763129964, 0.0538229868, 0.995630324),i) | |
| 458 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.94798851, 0.105755329, -0.10107708, 0.00450100191, -0.873353004, -0.487067252, 0.058618024, 0.486464947, -0.871731579, 0.998270452, -0.0246272516, 0.053383816),i) | |
| 459 | - | game:GetService("RunService").RenderStepped:wait()
|
| 459 | + | game:GetService("RunService").Stepped:wait()
|
| 460 | end | |
| 461 | swoosh:Play() | |
| 462 | local sensorpart = Instance.new("Part", Part0)
| |
| 463 | sensorpart.Size = Vector3.new(0.5,4.5,0.3) | |
| 464 | sensorpart.Transparency = 1 | |
| 465 | sensorpart:BreakJoints() | |
| 466 | sensorpart.CanCollide = false | |
| 467 | local weld1 = Instance.new("Weld", sensorpart)
| |
| 468 | weld1.Part0 = sensorpart | |
| 469 | weld1.Part1 = Part0 | |
| 470 | weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0,0,-2.5) | |
| 471 | local function dmg(part) | |
| 472 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
| |
| 473 | local torso = part.Parent:findFirstChild("Torso")
| |
| 474 | local uppertorso = part.Parent:findFirstChild("UpperTorso")
| |
| 475 | if humanoid then | |
| 476 | humanoid.Health = humanoid.Health - math.random(50,70) | |
| 477 | local hitvalrandom = math.random(1,4) | |
| 478 | if hitvalrandom == 1 then | |
| 479 | hit1:Play() | |
| 480 | end | |
| 481 | if hitvalrandom == 2 then | |
| 482 | hit11:Play() | |
| 483 | end | |
| 484 | if hitvalrandom == 3 then | |
| 485 | hit111:Play() | |
| 486 | end | |
| 487 | if hitvalrandom == 4 then | |
| 488 | hit1111:Play() | |
| 489 | end | |
| 490 | for i = 1,50 do | |
| 491 | if torso then | |
| 492 | torso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 20 | |
| 493 | elseif uppertorso then | |
| 494 | uppertorso.Velocity = game.Players.Rohan_Kishiba.Character.Torso.CFrame.lookVector * 20 | |
| 495 | end | |
| 496 | end | |
| 497 | end | |
| 498 | end | |
| 499 | sensorpart.Touched:connect(dmg) | |
| 500 | for i = 0,1 , 0.25 do | |
| 501 | welded.C0 = welded.C0:lerp(CFrame.new(-0.000267982483, -2.63003874, -0.259422779, -0.0301553756, 0.999542177, 0.00259565469, 0.176128089, 0.00786980428, -0.984336019, -0.983905315, -0.0292258263, -0.176284716),i) | |
| 502 | headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i) | |
| 503 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.258819014, -3.71340683e-22, -0.965925992, 2.65673535e-22, 1, -3.13253081e-22, 0.965925992, -1.75545142e-22, 0.258819014):inverse(),i) | |
| 504 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-2.04530883, 0.350778341, 0.00776195526, 0.123550013, 0.989574015, -0.0740192309, -0.990153968, 0.12788114, 0.0569359511, 0.0658080056, 0.0662559941, 0.995630324),i) | |
| 505 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.03489971, 0.315366983, -0.101076126, -0.0158190075, -0.987064481, -0.159542501, 0.0566230193, 0.158422038, -0.985746562, 0.998270452, -0.024627313, 0.0533844829),i) | |
| 506 | - | game:GetService("RunService").RenderStepped:wait()
|
| 506 | + | game:GetService("RunService").Stepped:wait()
|
| 507 | end | |
| 508 | sensorpart:destroy() | |
| 509 | trail:destroy() | |
| 510 | end | |
| 511 | canwalk = true | |
| 512 | using = false | |
| 513 | end | |
| 514 | end | |
| 515 | mouse.Button1Down:connect(slash) | |
| 516 | while true do | |
| 517 | if canwalk then | |
| 518 | if game.Players.Rohan_Kishiba.Character.Torso.Velocity.x < -0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.x > 0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.z < -0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.z > 0.5 then | |
| 519 | for i = 0,0.4 , 0.03 do | |
| 520 | if canwalk and game.Players.Rohan_Kishiba.Character.Torso.Velocity.x < -0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.x > 0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.z < -0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.z > 0.5 then | |
| 521 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i) | |
| 522 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1.00000024, -2.65673585e-22, 0, 2.61637394e-22, 0.984807849, -0.17364803, 4.61336744e-23, 0.173647985, 0.984808087):inverse(),i) | |
| 523 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86566889, 0.695530891, 1.00000024, 2.03517657e-22, 1.70771776e-22, -2.65673585e-22, 0.76604414, 0.642788053, 0, -0.642788231, 0.766044319),i) | |
| 524 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.530218601, -1.82889962, -0.714493513, 0.992945731, -0.0400093496, -0.111618601, -0.0400080197, 0.773099542, -0.633021653, 0.111619085, 0.633021772, 0.766045153),i) | |
| 525 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.64980125, 0.0399148464, 0.717731237, 0.984808087, 0.133022189, 0.111618683, -0.173647985, 0.754407108, 0.633021653, 5.43957649e-23, -0.642787218, 0.766045153),i) | |
| 526 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.136151552, -0.559810162, 0.984808087, -0.173648104, -2.98209869e-07, 0.133021981, 0.754406869, -0.642787337, 0.111619018, 0.63302213, 0.766044855),i) | |
| 527 | - | game:GetService("RunService").RenderStepped:wait()
|
| 527 | + | game:GetService("RunService").Stepped:wait()
|
| 528 | end | |
| 529 | end | |
| 530 | for i = 0,0.4 , 0.03 do | |
| 531 | if canwalk and game.Players.Rohan_Kishiba.Character.Torso.Velocity.x < -0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.x > 0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.z < -0.5 or game.Players.Rohan_Kishiba.Character.Torso.Velocity.z > 0.5 then | |
| 532 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i) | |
| 533 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.0726344585, -2.38418579e-07, 1.00000024, -2.65673585e-22, 0, 2.6163742e-22, 0.984807968, -0.173648044, 4.61336838e-23, 0.173648, 0.984808207):inverse(),i) | |
| 534 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86078393, -0.713530302, 1.00000024, 2.03517695e-22, -1.70771801e-22, -2.65673585e-22, 0.766044259, -0.642788112, 0, 0.642788291, 0.766044438),i) | |
| 535 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.70853138, -1.75833619, 0.89703536, 0.992945731, 0.102975316, -0.0587838776, -0.0400080234, 0.757652104, 0.651431441, 0.111619093, -0.644484162, 0.756427169),i) | |
| 536 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.66348219, 0.137681007, -0.535534859, 0.984808087, 0.133022189, -0.111618683, -0.173648, 0.754407227, -0.633021653, 0, 0.642787278, 0.766045332),i) | |
| 537 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.118935108, 0.435078144, 0.984808207, -0.173647344, -9.4095941e-07, 0.111619018, 0.63302201, 0.766044796, -0.133021042, -0.754407227, 0.642787576),i) | |
| 538 | - | game:GetService("RunService").RenderStepped:wait()
|
| 538 | + | game:GetService("RunService").Stepped:wait()
|
| 539 | end | |
| 540 | end | |
| 541 | else | |
| 542 | if canwalk then | |
| 543 | for i = 0,0.7 , 0.03 do | |
| 544 | if canwalk then | |
| 545 | welded.C0 = welded.C0:lerp(CFrame.new(2.90870667e-05, -1.00003433, -1.76998043, 3.48827803e-06, 0.999993622, 1.11844793e-06, 0.999994636, -6.09856488e-06, -1.73907235e-08, 1.42558235e-06, -5.02059891e-07, -0.999994695),i) | |
| 546 | headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.50000024, 0, 0.906307876, 2.65673535e-22, -0.422617942, -1.08395635e-22, 1, 3.96182153e-22, 0.422617942, -3.13253081e-22, 0.906307876),i) | |
| 547 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -3.86706633e-22, -0.500000238, 2.65673535e-22, 1, -3.13253081e-22, 0.500000238, 1.38448295e-22, 0.866025388):inverse(),i) | |
| 548 | rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i) | |
| 549 | llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i) | |
| 550 | lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.421217442, 0.0324847698, -1.29440498, 0.821394861, -0.422617882, -0.383020282, -0.126494989, 0.51983583, -0.844848931, 0.55615592, 0.742404759, 0.373531491),i) | |
| 551 | rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.0324564, 0.142137051, -1.00955009, 0.819151819, 0.496732086, 0.286788493, -3.97301679e-22, 0.500000119, -0.866025388, -0.573576868, 0.709406197, 0.409575999),i) | |
| 552 | - | game:GetService("RunService").RenderStepped:wait()
|
| 552 | + | game:GetService("RunService").Stepped:wait()
|
| 553 | end | |
| 554 | end | |
| 555 | end | |
| 556 | end | |
| 557 | end | |
| 558 | if swoosh.Parent == nil then | |
| 559 | swoosh.Parent = Part0 | |
| 560 | end | |
| 561 | if hit1.Parent == nil then | |
| 562 | hit1.Parent = Part0 | |
| 563 | end | |
| 564 | if hit11.Parent == nil then | |
| 565 | hit11.Parent = Part0 | |
| 566 | end | |
| 567 | if hit111.Parent == nil then | |
| 568 | hit111.Parent = Part0 | |
| 569 | end | |
| 570 | if hit1111.Parent == nil then | |
| 571 | hit1111.Parent = Part0 | |
| 572 | end | |
| 573 | - | game:GetService("RunService").RenderStepped:wait()
|
| 573 | + | game:GetService("RunService").Stepped:wait()
|
| 574 | end |