StarzoZero

Roblox FE Playtime v3.5

Dec 31st, 2018
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.29 KB | None | 0 0
  1. 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 = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. --[[ Playtime ]]--
  143. -------------------------------------------------------
  144. --[[
  145.  
  146. This script was created by WafflesAreVeryGood.
  147. ATTACKS
  148. _______
  149.  
  150.  
  151. --]]
  152. -------------------------------------------------------
  153. --[[ Reference ]]--
  154. --[[
  155. Burn Function
  156. hurt(char.Head, 15, "Burn", {char, {Color = Color3.new(0,1,1), Time = 1, Rate = 20, Damage = {1,5}}})
  157.  
  158. Freeze Function
  159. hurt(char.Head, 0, "Freeze", {char, 1})
  160.  
  161. Stun Function
  162. hurt(char.Head, 0, "Stun", {char, 0.2})
  163. --]]
  164. -------------------------------------------------------
  165. math.randomseed(tick())
  166. print("You are using a script created by WafflesAreVeryGood!")
  167. warn("--------Global Message--------")
  168. warn(game:GetService("MarketplaceService"):GetProductInfo(1720721621).Description)
  169. warn("------------------------------")
  170. --[[Changeable Variables]]--
  171. local settings = {}
  172. --ShowDamage settings
  173. settings.Damage = {
  174. Color = nil,
  175. StrokeColor = nil,
  176. Font = nil,
  177. }
  178. settings.AttackMenu = false
  179. settings.ShowDamageEnabled = false
  180. settings.CustomAnim = false
  181. local soundlist = {
  182. HardHit1 = "rbxassetid://565207203",
  183. HardHit2 = "rbxassetid://541909913",
  184. HardHit3 = "rbxassetid://541909983",
  185. WeakHit1 = "rbxassetid://558642292",
  186. WeakHit2 = "rbxassetid://541907812",
  187. Slice1 = "rbxassetid://260429964",
  188. Slice2 = "rbxassetid://260430015",
  189. Explosion1 = "rbxassetid://138186576",
  190. Explosion2 = "rbxassetid://157878578",
  191. Woosh1 = "rbxassetid://541909867",
  192. Woosh2 = "rbxassetid://541909763",
  193. Freeze = "rbxassetid://268249319",
  194. Thaw = "rbxassetid://1578580965",
  195. Burn = "rbxassetid://298181829",
  196. One = "rbxassetid://1846615963",
  197. Two = "rbxassetid://1846619160",
  198. Three = "rbxassetid://1846620849",
  199. Four = "rbxassetid://1846859927",
  200. Five = "rbxassetid://1846870244",
  201. ReadyGo = "rbxassetid://1846603855",
  202. Hehehe = "rbxassetid://1846846911",
  203. OnceYou = "rbxassetid://1846594055",
  204. Wow = "rbxassetid://1847115545",
  205. Oops = "rbxassetid://1846613015",
  206.  
  207. }
  208. local attack_data = {
  209. {
  210. Name = "Attack",
  211. Description = "Description",
  212. Key = "Key",
  213. },
  214.  
  215. }
  216.  
  217. --[[Important Variables]]--
  218. local plr = game:GetService('Players').LocalPlayer
  219. local char = plr.Character
  220. local mouse = plr:GetMouse()
  221. local input = game:GetService('UserInputService')
  222. ----
  223. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  224. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  225. local rs = torso["Right Shoulder"]
  226. local ls = torso["Left Shoulder"]
  227. local rh = torso["Right Hip"]
  228. local lh = torso["Left Hip"]
  229. local neck = torso.Neck
  230. local rj = rootpart["RootJoint"]
  231. local humanoid = char:FindFirstChildOfClass("Humanoid")
  232. ----
  233. local huge = Vector3.new(math.huge, math.huge, math.huge)
  234. local attacking = false
  235. local cananim = true
  236. local animpose = "Idle"
  237. local lastpose = animpose
  238. local movespeed = 0
  239. ----
  240. --[[ Anti-Decompile ]]--
  241. script.Parent = workspace.CurrentCamera
  242. game:GetService('Players').LocalPlayer.CharacterAdded:connect(function()
  243. script:Destroy()
  244. end)
  245. --[[ Moves Gui ]]--
  246.  
  247. local mgui = Instance.new("ScreenGui")
  248. mgui.Name = "MovesGui"
  249. local bg = Instance.new("Frame")
  250. bg.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  251. bg.Position = UDim2.new(0,504,0,164)
  252. bg.Name = "Background"
  253. bg.Size = UDim2.new(-0.035,379,0,225)
  254. bg.Visible = false
  255. bg.Parent = mgui
  256. local container = Instance.new("ScrollingFrame")
  257. container.Name = "Container"
  258. container.BackgroundColor3 = Color3.new(70/255,70/255,70/255)
  259. container.BorderSizePixel = 0
  260. container.Visible = true
  261. container.Position = UDim2.new(0,16,0,46)
  262. container.Size = UDim2.new(0,132,0,162)
  263. container.CanvasSize = UDim2.new(0,0,0,10)
  264. container.ScrollBarThickness = 4
  265. container.Parent = bg
  266. local copy = Instance.new("TextButton")
  267. copy.Name = "Move"
  268. copy.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  269. copy.BorderSizePixel = 0
  270. copy.Position = UDim2.new(0,4,0,4)
  271. copy.Size = UDim2.new(0,118,0,29)
  272. copy.Font = "SourceSansLight"
  273. copy.Text = "Move Name"
  274. copy.TextColor3 = Color3.new(197/255,0,0)
  275. copy.TextSize = 20
  276. copy.Visible = false
  277. copy.Parent = container
  278. local atkinfo = container:Clone()
  279. for _,v in pairs(atkinfo:GetChildren()) do v:Destroy() end
  280. atkinfo.Name = "AtkInfo"
  281. atkinfo.Visible = true
  282. atkinfo.Position = UDim2.new(0,167,0,50)
  283. atkinfo.Size = UDim2.new(0,159,0,165)
  284. atkinfo.Parent = bg
  285. local movename = Instance.new("TextLabel")
  286. movename.Name = "MoveName"
  287. movename.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  288. movename.BorderSizePixel = 0
  289. movename.Position = UDim2.new(0,4,0,4)
  290. movename.Size = UDim2.new(0,150,0,30)
  291. movename.Font = "SourceSansLight"
  292. movename.TextColor3 = Color3.new(197/255,0,0)
  293. movename.TextSize = 20
  294. movename.Text = "same"
  295. movename.Parent = atkinfo
  296. local movedesc = movename:Clone()
  297. movedesc.Position = UDim2.new(0,4,0,47)
  298. movedesc.Size = UDim2.new(0,150,0,133)
  299. movedesc.Text = "Move Description"
  300. movedesc.TextSize = 18
  301. movedesc.Name = "MoveDesc"
  302. movedesc.TextXAlignment = "Left"
  303. movedesc.TextYAlignment = "Top"
  304. movedesc.TextWrapped = true
  305. movedesc.Parent = atkinfo
  306. local title = movedesc:Clone()
  307. title.Name = "Title"
  308. title.Font = "SourceSansLight"
  309. title.Text = "Moves List"
  310. title.TextSize = 28
  311. title.BackgroundColor3 = Color3.new(36/255,36/255,36/255)
  312. title.Position = UDim2.new(0,0,0,0)
  313. title.Size = UDim2.new(1,0,0,30)
  314. title.TextXAlignment = "Center"
  315. title.TextYAlignment = "Center"
  316. title.Parent = bg
  317. local toggle = copy:Clone()
  318. toggle.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  319. toggle.Position = UDim2.new(0,0,0,288)
  320. toggle.Size = UDim2.new(0,70,0,20)
  321. toggle.Visible = true
  322. toggle.Font = "SourceSans"
  323. toggle.Text = "Toggle Moves"
  324. toggle.Name = "Toggle"
  325. toggle.TextSize = 14
  326. toggle.Parent = mgui
  327. mgui.Parent = plr:FindFirstChildOfClass("PlayerGui")
  328. if settings.AttackMenu then
  329. mgui.Enabled = false
  330. end
  331. toggle.MouseButton1Click:connect(function()
  332. bg.Visible = not bg.Visible
  333. end)
  334. local pos = copy.Position -UDim2.new(0,0,0,29)
  335. for _,data in pairs(attack_data) do
  336. local new = copy:Clone()
  337. pos = pos +UDim2.new(0,0,0,29)
  338. container.CanvasSize = container.CanvasSize +UDim2.new(0,0,0,29)
  339. new.Position = pos
  340. new.Text = data.Name.."["..data.Key.."]"
  341. new.Visible = true
  342. spawn(function()
  343. swait()
  344. if not new.TextFits then
  345. new.TextScaled = true
  346. end
  347. end)
  348. new.Parent = container
  349. new.MouseButton1Click:connect(function()
  350. movename.Text = data.Name
  351. movedesc.Text = data.Description
  352. spawn(function()
  353. swait()
  354. if not movename.TextFits then
  355. movename.TextScaled = true
  356. else
  357. movename.TextScaled = false
  358. end
  359. if not movedesc.TextFits then
  360. movename.TextScaled = true
  361. else
  362. movename.TextScaled = false
  363. end
  364. end)
  365. end)
  366. end
  367. --[[ Functions ]]--
  368.  
  369. function addattack(keycode, func)
  370. if keycode ~= "MouseClick" then
  371. input.InputBegan:connect(function(inp)
  372. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  373. func()
  374. end
  375. end)
  376. else
  377. mouse.Button1Down:connect(function()
  378. func()
  379. end)
  380. end
  381. end
  382. function attackend(keycode, func)
  383. input.InputEnded:connect(function(inp)
  384. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  385. func()
  386. end
  387. end)
  388. end
  389. function swait(t)
  390. if t then
  391. for i = 0, t do
  392. game:GetService('RunService').Stepped:wait(0)
  393. end
  394. else
  395. game:GetService('RunService').Stepped:wait(0)
  396. end
  397. return true
  398. end
  399. function fade(obj, dest, grow)
  400. spawn(function()
  401. local oldcf = obj.CFrame
  402. for i = 0, 10 do
  403. if grow then
  404. obj.Size = obj.Size +Vector3.new(1,1,1)
  405. obj.CFrame = oldcf
  406. end
  407. obj.Transparency = obj.Transparency +0.1
  408. swait()
  409. end
  410. if dest then
  411. obj:Destroy()
  412. end
  413. end)
  414. end
  415. function replacejoint(name)
  416. local j = torso:FindFirstChild(name)
  417. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  418. if j then
  419. if true then
  420. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  421. local new = Instance.new("Weld")
  422. local c0 = j.C0
  423. local c1 = j.C1
  424. new.Part0 = j.Part0
  425. j.Part0 = nil
  426. new.Name = j.Name.." Replacement"
  427. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  428. new.Parent = j.Parent
  429. new.Part1 = j.Part1
  430. new.C0 = c0
  431. new.C1 = c1
  432. return new
  433. end
  434. end
  435. end
  436. function removejoint(name, fast)
  437. local j = torso:FindFirstChild(name.." Replacement")
  438. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  439. if j then
  440. local p0 = j.Part0
  441. if p0 ~= nil then
  442. local c0 = j.C0
  443. local c1 = j.C1
  444. j:Destroy()
  445. local new = p0:FindFirstChild(name)
  446. local ac0 = new.C0
  447. local ac1 = new.C1
  448. new.Part0 = p0
  449. new.C0 = c0
  450. new.C1 = c1
  451. spawn(function()
  452. if name ~= "RootJoint" then
  453. if not fast then
  454. for i = 0, 0.6, 0.1 do
  455. print(i)
  456. new.C0 = new.C0:Lerp(ac0, 0.5)
  457. new.C1 = new.C1:lerp(ac1, 0.5)
  458. swait()
  459. end
  460. else
  461. new.C0 = new.C0:Lerp(ac0, 1)
  462. new.C1 = new.C1:lerp(ac1, 1)
  463. end
  464. end
  465. end)
  466. end
  467. end
  468. end
  469. function fixalljoints(fast)
  470. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  471. removejoint(v, fast)
  472. end
  473. end
  474. function getnewjoints()
  475. local rs = replacejoint("Right Shoulder")
  476. local ls = replacejoint("Left Shoulder")
  477. local rh = replacejoint("Right Hip")
  478. local lh = replacejoint("Left Hip")
  479. local neck = replacejoint("Neck")
  480. local rj = replacejoint("RootJoint")
  481. return rs,ls,rh,lh,neck,rj
  482. end
  483. function knockback(hit, force)
  484. local bv = Instance.new("BodyVelocity")
  485. bv.MaxForce = huge
  486. bv.Velocity = force
  487. bv.Parent = hit
  488. game:GetService('Debris'):AddItem(bv, 0.15)
  489. end
  490. function soundeffect(id, volume, speed, parent, extra)
  491. extra = extra or {}
  492. local func = function()
  493. local s = LoadLibrary("RbxUtility").Create("Sound")()
  494. s.Name = "WSoundEffect"
  495. s.Volume = volume
  496. s.PlaybackSpeed = speed
  497. s.SoundId = id
  498. s.Looped = false
  499. if extra.Pitch then
  500. local ef = Instance.new("PitchShiftSoundEffect")
  501. ef.Octave = extra.Pitch or 1
  502. ef.Enabled = true
  503. ef.Priority = 0
  504. ef.Parent = s
  505. end
  506. s.Parent = parent
  507. s:Play()
  508. s.TimePosition = extra.Start or 0
  509. repeat swait() until not s.Playing or s.TimePosition >= (extra.End or 99999)
  510. s:Destroy()
  511. return s
  512. end
  513. if extra.ForceWait then
  514. func()
  515. else
  516. return spawn(func)
  517. end
  518. end
  519. function getfunction(nm)
  520. if nm == "Burn" then
  521. return function(character, data)
  522. if character:FindFirstChild("Burn") then
  523. return
  524. end
  525. local val = Instance.new("StringValue")
  526. val.Name = "Burn"
  527. val.Parent = character
  528. for i = 1, data.Time*100 do
  529. if not character:FindFirstChild("Burn") then
  530. break
  531. end
  532. if i%data.Rate == 0 then
  533. local hum = character:FindFirstChildOfClass("Humanoid")
  534. if hum then
  535. hurt(torso, data.Damage)
  536. end
  537. soundeffect(soundlist.Burn, 1, 1, torso)
  538. spawn(function()
  539. for i = 1, 4 do
  540. spawn(function()
  541. local p = Instance.new("Part")
  542. p.Material = "Neon"
  543. p.CanCollide = false
  544. p.Anchored = true
  545. p.Size = Vector3.new(0.5,0.5,0.5)
  546. p.Name = "fireeffect"
  547. p.Color = data.Color or Color3.new(1,162/255,0)
  548. p.CFrame = torso.CFrame *CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  549. p.Parent = torso
  550. local offset = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  551. local endcf = CFrame.new(p.Position+Vector3.new(math.random(-10,10)/10,3,math.random(-10,10)/10))*offset
  552. local opcf = p.CFrame
  553. local opsz = p.Size
  554. for i = 0, 1, 0.01 do
  555. p.Transparency = i/1
  556. local cf = p.CFrame
  557. p.Size = opsz:Lerp(Vector3.new(0.05,0.05,0.05), i/1)
  558. p.CFrame = cf
  559. p.CFrame = opcf:Lerp( endcf*CFrame.Angles(math.rad(math.sin(i)*360),math.rad(math.cos(i)*360),math.rad(math.sin(i)*360)), i/1 )
  560. swait()
  561. end
  562. p:Destroy()
  563. swait(5)
  564. end)
  565. swait()
  566. end
  567. end)
  568. end
  569. swait()
  570. end
  571. val:Destroy()
  572. end
  573. end
  574. if nm == "Poison" then
  575. return function(character, data)
  576.  
  577. end
  578. end
  579. if nm == "Freeze" then
  580. return function(character, t)
  581. if not character:FindFirstChild("Frozen") then
  582. local val = Instance.new("StringValue")
  583. val.Name = "Frozen"
  584. val.Parent = character
  585. local unanchor = {}
  586. local freezeparts = {}
  587. soundeffect(soundlist.Freeze, 1, 3, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  588. for _,v in pairs(character:GetDescendants()) do
  589. if v:IsA("BasePart") and v.Name ~= "freezepart" and v.Name ~= "fireeffect" then
  590. if v.Transparency ~= 1 then
  591. if not v.Anchored then
  592. table.insert(unanchor, v)
  593. end
  594. v.Anchored = true
  595. local new = v:Clone()
  596. new:ClearAllChildren()
  597. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  598. if mesh then
  599. mesh = mesh:Clone()
  600. mesh.TextureId = ""
  601. if mesh.Scale ~= Vector3.new(1,1,1) then
  602. mesh.Scale = mesh.Scale +Vector3.new(0.05,0.05,0.05)
  603. end
  604. mesh.Parent = new
  605. end
  606. new.Size = new.Size+Vector3.new(0.05,0.05,0.05)
  607. new.CanCollide = false
  608. new.Anchored = true
  609. new.Name = "freezepart"
  610. new.Material = "Ice"
  611. new.BrickColor = BrickColor.new("Pastel light blue")
  612. new.TopSurface = "Smooth"
  613. new.BottomSurface = "Smooth"
  614. new.Transparency = 0
  615. new.CFrame = v.CFrame
  616. new.Parent = v
  617. table.insert(freezeparts, new)
  618. end
  619. end
  620. end
  621. swait(50*t)
  622. soundeffect(soundlist.Thaw, 1, 1, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  623. val:Destroy()
  624. for _,v in pairs(unanchor) do
  625. v.Anchored = false
  626. end
  627. for _,v in pairs(freezeparts) do
  628. v.Anchored = false
  629. v.CanCollide = true
  630. v.Velocity = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))).lookVector*25
  631. game:GetService('Debris'):AddItem(v, 5)
  632. end
  633. end
  634. end
  635. end
  636. if nm == "Stun" then
  637. return function(character, t)
  638. local humanoid = character:FindFirstChildOfClass("Humanoid")
  639. local val = Instance.new("StringValue")
  640. val.Name = "Stun"
  641. val.Parent = character
  642. if humanoid then
  643. humanoid.PlatformStand = true
  644. end
  645. for i = 1, t*100 do
  646. if humanoid then
  647. humanoid.PlatformStand = true
  648. end
  649. swait()
  650. end
  651. if humanoid then
  652. humanoid.PlatformStand = false
  653. end
  654. val:Destroy()
  655. end
  656. end
  657. if nm == "Paralyze" then
  658. return function(character, t)
  659.  
  660. end
  661. end
  662. return
  663. end
  664. function showdamage(cf, txtdata)
  665. --[[
  666. [Text Data]
  667. Font
  668. Text
  669. Color
  670. StrokeColor {NOTE: If strokecolor not provided, then will default the StrokeTransparency to 1}
  671. --]]
  672. local p = Instance.new("Part")
  673. p.Name = "DamagePart"
  674. p.CanCollide = false
  675. p.Anchored = true
  676. p.Transparency = 1
  677. p.Size = Vector3.new(0.1,0.1,0.1)
  678. p.CFrame = cf
  679. local gui = Instance.new("BillboardGui")
  680. gui.Name = "GUI"
  681. gui.Adornee = p
  682. gui.LightInfluence = 0
  683. gui.Size = UDim2.new(1.5,0,0.7,0)
  684. gui.StudsOffset = Vector3.new(0,0.5,0)
  685. local tl = Instance.new("TextLabel")
  686. tl.Name = "tl"
  687. tl.BackgroundTransparency = 1
  688. tl.Position = UDim2.new(0,0,0,0)
  689. tl.Size = UDim2.new(2,0,2,0)
  690. tl.Font = txtdata.Font or "SourceSans"
  691. tl.TextColor3 = txtdata.Color or Color3.new(1,0,0)
  692. tl.Text = txtdata.Text or ""
  693. tl.TextScaled = true
  694. tl.TextStrokeColor3 = txtdata.StrokeColor or Color3.new()
  695. tl.TextStrokeTransparency = txtdata.StrokeColor and 0 or 1
  696. tl.Rotation = math.random(-10,10)
  697. tl.Parent = gui
  698. gui.Parent = p
  699. local og = gui
  700. gui = og:Clone()
  701. gui.Parent = og.Parent
  702. tl = gui.tl
  703. og:Destroy()
  704. p.Parent = char
  705. spawn(function()
  706. for i = 1, 100 do
  707. gui.StudsOffset = gui.StudsOffset:Lerp(Vector3.new(0,1,0), i/100)
  708. tl.TextTransparency = Vector3.new(tl.TextTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  709. if txtdata.StrokeColor then
  710. tl.TextStrokeTransparency = Vector3.new(tl.TextStrokeTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  711. end
  712. swait()
  713. end
  714. p:Destroy()
  715. end)
  716. end
  717. function stabilizer(obj)
  718. local bp = Instance.new("BodyPosition")
  719. bp.MaxForce = huge
  720. bp.Position = obj.Position
  721. bp.Parent = obj
  722. end
  723. function camshake(direction, intensity, duration)
  724. if direction:lower() == "inout" then
  725. workspace.CurrentCamera.FieldOfView = intensity
  726. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  727. elseif direction:lower() == "left" then
  728. humanoid.CameraOffset = Vector3.new(intensity,0,0)
  729. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  730. elseif direction:lower() == "right" then
  731. humanoid.CameraOffset = Vector3.new(-intensity,0,0)
  732. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  733. elseif direction:lower() == "up" then
  734. humanoid.CameraOffset = Vector3.new(0,intensity,0)
  735. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  736. elseif direction:lower() == "down" then
  737. humanoid.CameraOffset = Vector3.new(0,-intensity,0)
  738. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  739. end
  740. end
  741. function hurt(hit, dmg, effect, args)
  742. --pcall(function()
  743. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  744. if hum then
  745. if hum.Parent ~= char or true then
  746. if typeof(dmg) == "table" then
  747. dmg = math.random(dmg[1], dmg[2])
  748. end
  749. hum.Health = hum.Health - dmg
  750. if settings.ShowDamageEnabled then
  751. local dmgdata = {
  752. Color = settings.Damage.Color,
  753. StrokeColor = settings.Damage.StrokeColor,
  754. Font = settings.Damage.Font,
  755. Text = dmg,
  756. }
  757. showdamage(hit.CFrame *CFrame.new(math.random(-30,30)/10,math.random(-5,5)/10,math.random(-30,30)/10), dmgdata)
  758. end
  759. if effect then
  760. if typeof(effect) == "function" then
  761. local s,m = pcall(effect, hit.CFrame)
  762. if not s then
  763. warn("Error in function: "..m or "unknown")
  764. end
  765. end
  766. if typeof(effect) == "string" then
  767. local func = getfunction(effect)
  768. if func then
  769. local s,m
  770. if args then
  771. s,m = pcall(func, unpack(args))
  772. else
  773. s,m = pcall(func)
  774. end
  775. if not s then
  776. warn("Error in function: "..m or "unknown")
  777. end
  778. end
  779. end
  780. end
  781. return true
  782. end
  783. end
  784. --end)
  785. end
  786. --[[ uhhhhhhhhhhhhhhhh ]]--
  787. pcall(function()
  788. NS([[
  789. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:Playtime")
  790. store:UpdateAsync("y'all", function(old)
  791. old = old or {}
  792. if typeof(old) ~= "table" then
  793. old = {} --stop breaking my datastores
  794. end
  795. local ok = true
  796. for _,v in pairs(old) do
  797. if typeof(v) == "table" then
  798. if v.name == owner.Name or v.userid == owner.UserId then
  799. ok = false
  800. table.insert(v.uses, tick())
  801. end
  802. end
  803. end
  804. if ok then
  805. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  806. end
  807. return old
  808. end)
  809. script:Destroy()
  810. ]], workspace)
  811. end)
  812. --[[ Actual script :OOOOOOOOOO ]]--
  813.  
  814. --Converted with ttyyuu12345's model to script plugin v4
  815. function sandbox(var,func)
  816. local env = getfenv(func)
  817. local newenv = setmetatable({},{
  818. __index = function(self,k)
  819. if k=="script" then
  820. return var
  821. else
  822. return env[k]
  823. end
  824. end,
  825. })
  826. setfenv(func,newenv)
  827. return func
  828. end
  829. cors = {}
  830. mas = Instance.new("Model",game:GetService("Lighting"))
  831. Model0 = Instance.new("Model")
  832. Part1 = Instance.new("Part")
  833. SpecialMesh2 = Instance.new("SpecialMesh")
  834. Part3 = Instance.new("Part")
  835. SpecialMesh4 = Instance.new("SpecialMesh")
  836. Part5 = Instance.new("Part")
  837. SpecialMesh6 = Instance.new("SpecialMesh")
  838. Part7 = Instance.new("Part")
  839. SpecialMesh8 = Instance.new("SpecialMesh")
  840. Part9 = Instance.new("Part")
  841. SpecialMesh10 = Instance.new("SpecialMesh")
  842. Part11 = Instance.new("Part")
  843. SpecialMesh12 = Instance.new("SpecialMesh")
  844. Part13 = Instance.new("Part")
  845. SpecialMesh14 = Instance.new("SpecialMesh")
  846. Part15 = Instance.new("Part")
  847. SpecialMesh16 = Instance.new("SpecialMesh")
  848. Part17 = Instance.new("Part")
  849. SpecialMesh18 = Instance.new("SpecialMesh")
  850. Part19 = Instance.new("Part")
  851. Part20 = Instance.new("Part")
  852. SpecialMesh21 = Instance.new("SpecialMesh")
  853. Part22 = Instance.new("Part")
  854. SpecialMesh23 = Instance.new("SpecialMesh")
  855. Part24 = Instance.new("Part")
  856. SpecialMesh25 = Instance.new("SpecialMesh")
  857. Part26 = Instance.new("Part")
  858. SpecialMesh27 = Instance.new("SpecialMesh")
  859. Part28 = Instance.new("Part")
  860. SpecialMesh29 = Instance.new("SpecialMesh")
  861. Part30 = Instance.new("Part")
  862. SpecialMesh31 = Instance.new("SpecialMesh")
  863. Part32 = Instance.new("Part")
  864. SpecialMesh33 = Instance.new("SpecialMesh")
  865. Part34 = Instance.new("Part")
  866. Model0.Name = "Rope"
  867. Model0.Parent = mas
  868. Model0.PrimaryPart = Part19
  869. Part1.Parent = Model0
  870. Part1.BrickColor = BrickColor.new("Institutional white")
  871. Part1.Rotation = Vector3.new(15, -90, 0)
  872. Part1.Anchored = true
  873. Part1.CanCollide = false
  874. Part1.Size = Vector3.new(0.5, 0.5, 0.5)
  875. Part1.CFrame = CFrame.new(242.25, 1.8062222, -319.676788, 1.26665881e-07, 3.39399868e-08, -1, -0.258818746, 0.965925574, 0, 0.965925872, 0.258818805, 1.31134158e-07)
  876. Part1.BottomSurface = Enum.SurfaceType.Smooth
  877. Part1.TopSurface = Enum.SurfaceType.Smooth
  878. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  879. Part1.Position = Vector3.new(242.25, 1.8062222, -319.676788)
  880. Part1.Orientation = Vector3.new(0, -90, -15)
  881. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  882. SpecialMesh2.Parent = Part1
  883. SpecialMesh2.MeshType = Enum.MeshType.Cylinder
  884. Part3.Parent = Model0
  885. Part3.BrickColor = BrickColor.new("Institutional white")
  886. Part3.Rotation = Vector3.new(-15, 90, 0)
  887. Part3.Anchored = true
  888. Part3.CanCollide = false
  889. Part3.Size = Vector3.new(0.5, 0.5, 0.5)
  890. Part3.CFrame = CFrame.new(242.25, 1.8062222, -318.323212, -4.22219593e-08, -1.13133289e-08, 1, -0.258818805, 0.965925694, 0, -0.965925872, -0.258818805, -4.37113883e-08)
  891. Part3.BottomSurface = Enum.SurfaceType.Smooth
  892. Part3.TopSurface = Enum.SurfaceType.Smooth
  893. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  894. Part3.Position = Vector3.new(242.25, 1.8062222, -318.323212)
  895. Part3.Orientation = Vector3.new(0, 90, -15)
  896. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  897. SpecialMesh4.Parent = Part3
  898. SpecialMesh4.MeshType = Enum.MeshType.Cylinder
  899. Part5.Parent = Model0
  900. Part5.BrickColor = BrickColor.new("Institutional white")
  901. Part5.Rotation = Vector3.new(-30, 90, 0)
  902. Part5.Anchored = true
  903. Part5.CanCollide = false
  904. Part5.Size = Vector3.new(0.5, 0.5, 0.5)
  905. Part5.CFrame = CFrame.new(242.25, 1.97095168, -317.925537, -3.78551768e-08, -2.18556693e-08, 1, -0.499999464, 0.86602509, 0, -0.866025567, -0.499999404, -4.37113883e-08)
  906. Part5.BottomSurface = Enum.SurfaceType.Smooth
  907. Part5.TopSurface = Enum.SurfaceType.Smooth
  908. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  909. Part5.Position = Vector3.new(242.25, 1.97095168, -317.925537)
  910. Part5.Orientation = Vector3.new(0, 90, -30)
  911. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  912. SpecialMesh6.Parent = Part5
  913. SpecialMesh6.MeshType = Enum.MeshType.Cylinder
  914. Part7.Parent = Model0
  915. Part7.BrickColor = BrickColor.new("Institutional white")
  916. Part7.Rotation = Vector3.new(75, -90, 0)
  917. Part7.Anchored = true
  918. Part7.CanCollide = false
  919. Part7.Size = Vector3.new(0.5, 0.5, 0.5)
  920. Part7.CFrame = CFrame.new(242.25, 3.22219825, -321.275787, 3.3940708e-08, 1.26665682e-07, -1, -0.965924203, 0.258824617, 4.52781157e-14, 0.258824676, 0.965924442, 1.31134144e-07)
  921. Part7.BottomSurface = Enum.SurfaceType.Smooth
  922. Part7.TopSurface = Enum.SurfaceType.Smooth
  923. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  924. Part7.Position = Vector3.new(242.25, 3.22219825, -321.275787)
  925. Part7.Orientation = Vector3.new(0, -90, -75)
  926. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  927. SpecialMesh8.Parent = Part7
  928. SpecialMesh8.MeshType = Enum.MeshType.Cylinder
  929. Part9.Parent = Model0
  930. Part9.BrickColor = BrickColor.new("Institutional white")
  931. Part9.Rotation = Vector3.new(0, 90, 0)
  932. Part9.Anchored = true
  933. Part9.CanCollide = false
  934. Part9.Size = Vector3.new(0.5, 0.5, 0.5)
  935. Part9.CFrame = CFrame.new(242.25, 1.750036, -318.75, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  936. Part9.BottomSurface = Enum.SurfaceType.Smooth
  937. Part9.TopSurface = Enum.SurfaceType.Smooth
  938. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  939. Part9.Position = Vector3.new(242.25, 1.750036, -318.75)
  940. Part9.Orientation = Vector3.new(0, 90, 0)
  941. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  942. SpecialMesh10.Parent = Part9
  943. SpecialMesh10.MeshType = Enum.MeshType.Cylinder
  944. Part11.Parent = Model0
  945. Part11.BrickColor = BrickColor.new("Institutional white")
  946. Part11.Rotation = Vector3.new(90, -90, 0)
  947. Part11.Anchored = true
  948. Part11.CanCollide = false
  949. Part11.Size = Vector3.new(5.25, 0.5, 0.5)
  950. Part11.CFrame = CFrame.new(242.25, 6.02398205, -321.33197, 7.46914737e-13, 1.31134186e-07, -1, -0.999999881, 6.02006958e-06, 4.52780954e-14, 6.04987144e-06, 1.00000036, 1.31134144e-07)
  951. Part11.BottomSurface = Enum.SurfaceType.Smooth
  952. Part11.TopSurface = Enum.SurfaceType.Smooth
  953. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  954. Part11.Position = Vector3.new(242.25, 6.02398205, -321.33197)
  955. Part11.Orientation = Vector3.new(0, -90, -90)
  956. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  957. SpecialMesh12.Parent = Part11
  958. SpecialMesh12.MeshType = Enum.MeshType.Cylinder
  959. Part13.Parent = Model0
  960. Part13.BrickColor = BrickColor.new("Institutional white")
  961. Part13.Rotation = Vector3.new(45, -90, 0)
  962. Part13.Anchored = true
  963. Part13.CanCollide = false
  964. Part13.Size = Vector3.new(0.5, 0.5, 0.5)
  965. Part13.CFrame = CFrame.new(242.25, 2.48300886, -320.848999, 9.27258981e-08, 9.27256707e-08, -1, -0.707105637, 0.707105696, -3.76821834e-15, 0.707107186, 0.707105458, 1.31134158e-07)
  966. Part13.BottomSurface = Enum.SurfaceType.Smooth
  967. Part13.TopSurface = Enum.SurfaceType.Smooth
  968. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  969. Part13.Position = Vector3.new(242.25, 2.48300886, -320.848999)
  970. Part13.Orientation = Vector3.new(0, -90, -45)
  971. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  972. SpecialMesh14.Parent = Part13
  973. SpecialMesh14.MeshType = Enum.MeshType.Cylinder
  974. Part15.Parent = Model0
  975. Part15.BrickColor = BrickColor.new("Institutional white")
  976. Part15.Rotation = Vector3.new(-45, 90, 0)
  977. Part15.Anchored = true
  978. Part15.CanCollide = false
  979. Part15.Size = Vector3.new(0.5, 0.5, 0.5)
  980. Part15.CFrame = CFrame.new(242.25, 2.4830091, -317.151001, -3.09086303e-08, -3.09085593e-08, 1, -0.707105756, 0.707105815, -3.76821919e-15, -0.707107186, -0.707105458, -4.37113883e-08)
  981. Part15.BottomSurface = Enum.SurfaceType.Smooth
  982. Part15.TopSurface = Enum.SurfaceType.Smooth
  983. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  984. Part15.Position = Vector3.new(242.25, 2.4830091, -317.151001)
  985. Part15.Orientation = Vector3.new(0, 90, -45)
  986. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  987. SpecialMesh16.Parent = Part15
  988. SpecialMesh16.MeshType = Enum.MeshType.Cylinder
  989. Part17.Parent = Model0
  990. Part17.BrickColor = BrickColor.new("Institutional white")
  991. Part17.Rotation = Vector3.new(-90, 90, 0)
  992. Part17.Anchored = true
  993. Part17.CanCollide = false
  994. Part17.Size = Vector3.new(5.25, 0.5, 0.5)
  995. Part17.CFrame = CFrame.new(242.25, 6.02398252, -316.66803, -2.1801823e-13, -4.37113954e-08, 1, -1, 6.02007049e-06, 4.52781021e-14, -6.04987144e-06, -1.00000036, -4.37113705e-08)
  996. Part17.BottomSurface = Enum.SurfaceType.Smooth
  997. Part17.TopSurface = Enum.SurfaceType.Smooth
  998. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  999. Part17.Position = Vector3.new(242.25, 6.02398252, -316.66803)
  1000. Part17.Orientation = Vector3.new(0, 90, -90)
  1001. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1002. SpecialMesh18.Parent = Part17
  1003. SpecialMesh18.MeshType = Enum.MeshType.Cylinder
  1004. Part19.Name = "Core"
  1005. Part19.Parent = Model0
  1006. Part19.BrickColor = BrickColor.new("Institutional white")
  1007. Part19.Transparency = 1
  1008. Part19.Rotation = Vector3.new(0, 90, 0)
  1009. Part19.Anchored = true
  1010. Part19.CanCollide = false
  1011. Part19.Size = Vector3.new(0.5, 0.5, 0.5)
  1012. Part19.CFrame = CFrame.new(242.25, 7.00003576, -319, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  1013. Part19.BottomSurface = Enum.SurfaceType.Smooth
  1014. Part19.TopSurface = Enum.SurfaceType.Smooth
  1015. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1016. Part19.Position = Vector3.new(242.25, 7.00003576, -319)
  1017. Part19.Orientation = Vector3.new(0, 90, 0)
  1018. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1019. Part20.Parent = Model0
  1020. Part20.BrickColor = BrickColor.new("Institutional white")
  1021. Part20.Rotation = Vector3.new(30, -90, 0)
  1022. Part20.Anchored = true
  1023. Part20.CanCollide = false
  1024. Part20.Size = Vector3.new(0.5, 0.5, 0.5)
  1025. Part20.CFrame = CFrame.new(242.25, 1.97095168, -320.074463, 1.13565534e-07, 6.55670007e-08, -1, -0.499999404, 0.866024971, 0, 0.866025567, 0.499999404, 1.31134158e-07)
  1026. Part20.BottomSurface = Enum.SurfaceType.Smooth
  1027. Part20.TopSurface = Enum.SurfaceType.Smooth
  1028. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1029. Part20.Position = Vector3.new(242.25, 1.97095168, -320.074463)
  1030. Part20.Orientation = Vector3.new(0, -90, -30)
  1031. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1032. SpecialMesh21.Parent = Part20
  1033. SpecialMesh21.MeshType = Enum.MeshType.Cylinder
  1034. Part22.Parent = Model0
  1035. Part22.BrickColor = BrickColor.new("Institutional white")
  1036. Part22.Rotation = Vector3.new(-75, 90, 0)
  1037. Part22.Anchored = true
  1038. Part22.CanCollide = false
  1039. Part22.Size = Vector3.new(0.5, 0.5, 0.5)
  1040. Part22.CFrame = CFrame.new(242.25, 3.22219849, -316.724213, -1.13135386e-08, -4.22218989e-08, 1, -0.965924323, 0.258824676, 4.52781225e-14, -0.258824676, -0.965924442, -4.37113741e-08)
  1041. Part22.BottomSurface = Enum.SurfaceType.Smooth
  1042. Part22.TopSurface = Enum.SurfaceType.Smooth
  1043. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1044. Part22.Position = Vector3.new(242.25, 3.22219849, -316.724213)
  1045. Part22.Orientation = Vector3.new(0, 90, -75)
  1046. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1047. SpecialMesh23.Parent = Part22
  1048. SpecialMesh23.MeshType = Enum.MeshType.Cylinder
  1049. Part24.Parent = Model0
  1050. Part24.BrickColor = BrickColor.new("Institutional white")
  1051. Part24.Rotation = Vector3.new(60, -90, 0)
  1052. Part24.Anchored = true
  1053. Part24.CanCollide = false
  1054. Part24.Size = Vector3.new(0.5, 0.5, 0.5)
  1055. Part24.CFrame = CFrame.new(242.25, 2.82451463, -321.111053, 6.5567221e-08, 1.13565022e-07, -1, -0.866022885, 0.499997199, -1.29984245e-14, 0.500001192, 0.866021693, 1.31134158e-07)
  1056. Part24.BottomSurface = Enum.SurfaceType.Smooth
  1057. Part24.TopSurface = Enum.SurfaceType.Smooth
  1058. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1059. Part24.Position = Vector3.new(242.25, 2.82451463, -321.111053)
  1060. Part24.Orientation = Vector3.new(0, -90, -60)
  1061. Part24.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1062. SpecialMesh25.Parent = Part24
  1063. SpecialMesh25.MeshType = Enum.MeshType.Cylinder
  1064. Part26.Parent = Model0
  1065. Part26.BrickColor = BrickColor.new("Institutional white")
  1066. Part26.Rotation = Vector3.new(30, -90, 0)
  1067. Part26.Anchored = true
  1068. Part26.CanCollide = false
  1069. Part26.Size = Vector3.new(0.5, 0.5, 0.5)
  1070. Part26.CFrame = CFrame.new(242.25, 2.22095108, -320.507477, 1.13565534e-07, 6.55670007e-08, -1, -0.499999404, 0.866024971, 0, 0.866025567, 0.499999404, 1.31134158e-07)
  1071. Part26.BottomSurface = Enum.SurfaceType.Smooth
  1072. Part26.TopSurface = Enum.SurfaceType.Smooth
  1073. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1074. Part26.Position = Vector3.new(242.25, 2.22095108, -320.507477)
  1075. Part26.Orientation = Vector3.new(0, -90, -30)
  1076. Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1077. SpecialMesh27.Parent = Part26
  1078. SpecialMesh27.MeshType = Enum.MeshType.Cylinder
  1079. Part28.Parent = Model0
  1080. Part28.BrickColor = BrickColor.new("Institutional white")
  1081. Part28.Rotation = Vector3.new(-30, 90, 0)
  1082. Part28.Anchored = true
  1083. Part28.CanCollide = false
  1084. Part28.Size = Vector3.new(0.5, 0.5, 0.5)
  1085. Part28.CFrame = CFrame.new(242.25, 2.22095132, -317.492523, -3.78551768e-08, -2.18556693e-08, 1, -0.499999464, 0.86602509, 0, -0.866025567, -0.499999404, -4.37113883e-08)
  1086. Part28.BottomSurface = Enum.SurfaceType.Smooth
  1087. Part28.TopSurface = Enum.SurfaceType.Smooth
  1088. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1089. Part28.Position = Vector3.new(242.25, 2.22095132, -317.492523)
  1090. Part28.Orientation = Vector3.new(0, 90, -30)
  1091. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1092. SpecialMesh29.Parent = Part28
  1093. SpecialMesh29.MeshType = Enum.MeshType.Cylinder
  1094. Part30.Parent = Model0
  1095. Part30.BrickColor = BrickColor.new("Institutional white")
  1096. Part30.Rotation = Vector3.new(0, -90, 0)
  1097. Part30.Anchored = true
  1098. Part30.CanCollide = false
  1099. Part30.Size = Vector3.new(0.5, 0.5, 0.5)
  1100. Part30.CFrame = CFrame.new(242.25, 1.750036, -319.25, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  1101. Part30.BottomSurface = Enum.SurfaceType.Smooth
  1102. Part30.TopSurface = Enum.SurfaceType.Smooth
  1103. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1104. Part30.Position = Vector3.new(242.25, 1.750036, -319.25)
  1105. Part30.Orientation = Vector3.new(0, -90, 0)
  1106. Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1107. SpecialMesh31.Parent = Part30
  1108. SpecialMesh31.MeshType = Enum.MeshType.Cylinder
  1109. Part32.Parent = Model0
  1110. Part32.BrickColor = BrickColor.new("Institutional white")
  1111. Part32.Rotation = Vector3.new(-60, 90, 0)
  1112. Part32.Anchored = true
  1113. Part32.CanCollide = false
  1114. Part32.Size = Vector3.new(0.5, 0.5, 0.5)
  1115. Part32.CFrame = CFrame.new(242.25, 2.82451487, -316.888947, -2.18557297e-08, -3.78550133e-08, 1, -0.866023004, 0.499997258, -1.29984262e-14, -0.500001192, -0.866021693, -4.37113954e-08)
  1116. Part32.BottomSurface = Enum.SurfaceType.Smooth
  1117. Part32.TopSurface = Enum.SurfaceType.Smooth
  1118. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1119. Part32.Position = Vector3.new(242.25, 2.82451487, -316.888947)
  1120. Part32.Orientation = Vector3.new(0, 90, -60)
  1121. Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1122. SpecialMesh33.Parent = Part32
  1123. SpecialMesh33.MeshType = Enum.MeshType.Cylinder
  1124. Part34.Name = "Toucher"
  1125. Part34.Parent = Model0
  1126. Part34.BrickColor = BrickColor.new("Institutional white")
  1127. Part34.Transparency = 1
  1128. Part34.Rotation = Vector3.new(0, -90, 0)
  1129. Part34.Anchored = true
  1130. Part34.CanCollide = false
  1131. Part34.Size = Vector3.new(5.5, 0.5, 0.5)
  1132. Part34.CFrame = CFrame.new(242.25, 1.750036, -319, 1.31134158e-07, 0, -1, 0, 0.999999821, 0, 1, 0, 1.31134158e-07)
  1133. Part34.BottomSurface = Enum.SurfaceType.Smooth
  1134. Part34.TopSurface = Enum.SurfaceType.Smooth
  1135. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1136. Part34.Position = Vector3.new(242.25, 1.750036, -319)
  1137. Part34.Orientation = Vector3.new(0, -90, 0)
  1138. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1139. for i,v in pairs(mas:GetChildren()) do
  1140. v.Parent = game:GetService("Players").LocalPlayer.Character
  1141. pcall(function() v:MakeJoints() end)
  1142. end
  1143. mas:Destroy()
  1144. for i,v in pairs(cors) do
  1145. spawn(function()
  1146. pcall(v)
  1147. end)
  1148. end
  1149.  
  1150.  
  1151.  
  1152.  
  1153. local rope = char.Rope
  1154. function setrope(trans)
  1155. trans = trans or 0
  1156. for i,v in pairs(rope:GetChildren()) do
  1157. if v.Name ~= "Toucher" and v.Name ~= "Core" then
  1158. v.Transparency = trans
  1159. end
  1160. end
  1161. end
  1162. humanoid.WalkSpeed = 30
  1163. humanoid.JumpPower = 0
  1164. local bbg = Instance.new("BillboardGui")
  1165. bbg.Name = "Character"
  1166. bbg.Adornee = torso
  1167. bbg.AlwaysOnTop = false
  1168. bbg.Size = UDim2.new(7,0,7,0)
  1169. bbg.StudsOffset = Vector3.new(0,0,0)
  1170. local image = Instance.new("ImageLabel")
  1171. image.BackgroundTransparency = 1
  1172. image.Size = UDim2.new(1,0,1,0)
  1173. image.Image = "rbxassetid://1817854735"
  1174. image.Parent = bbg
  1175. bbg.Parent = torso
  1176. addattack(Enum.KeyCode.Z, function()
  1177. soundeffect(soundlist.Hehehe, 1, 1, char.Torso)
  1178. end)
  1179. torso.Touched:connect(function(hit)
  1180. if hurt(hit, 0) and not attacking then
  1181. attacking = true
  1182. humanoid.WalkSpeed = 0
  1183. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1184. local oldws = hum.WalkSpeed
  1185. local jpow = hum.JumpPower
  1186. hum.JumpPower = 0
  1187. soundeffect(soundlist.OnceYou, 1, 1, char.Torso, {ForceWait = true})
  1188. soundeffect(soundlist.ReadyGo, 1, 1, char.Torso, {ForceWait = true})
  1189. hum.WalkSpeed = oldws
  1190. hum.JumpPower = jpow
  1191. setrope(0)
  1192. rootpart.CFrame = rootpart.CFrame *CFrame.new(0,0,6)
  1193. local function play()
  1194. local con,oops
  1195. con = rope.Toucher.Touched:connect(function(tar)
  1196. if tar.Parent == hit.Parent then
  1197. oops = true
  1198. con:disconnect()
  1199. end
  1200. end)
  1201. local tors = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1202. rope:SetPrimaryPartCFrame(tors.CFrame)
  1203. local cf = tors.CFrame *CFrame.new(0,3,0) *CFrame.Angles(math.rad(-25),0,0)
  1204. oops = false
  1205. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1206. local oldws = hum.WalkSpeed
  1207. for i = 1, 550 do
  1208. hum.WalkSpeed = 0
  1209. if i == 100 then
  1210. soundeffect(soundlist.One, 1, 1, char.Torso)
  1211. end
  1212. if i == 200 then
  1213. soundeffect(soundlist.Two, 1, 1, char.Torso)
  1214. end
  1215. if i == 300 then
  1216. soundeffect(soundlist.Three, 1, 1, char.Torso)
  1217. end
  1218. if i == 400 then
  1219. soundeffect(soundlist.Four, 1, 1, char.Torso)
  1220. end
  1221. if i == 500 then
  1222. soundeffect(soundlist.Five, 1, 1, char.Torso)
  1223. end
  1224. rope:SetPrimaryPartCFrame(cf *CFrame.Angles(math.rad(-3.6),0,0))
  1225. cf = rope.PrimaryPart.CFrame
  1226. if oops then
  1227. break
  1228. end
  1229. swait()
  1230. end
  1231. if oops then
  1232. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1233. local jpow = hum.JumpPower
  1234. hum.JumpPower = 0
  1235. soundeffect(soundlist.Oops, 1, 1, char.Torso, {ForceWait = true})
  1236. hum.JumpPower = jpow
  1237. play()
  1238. end
  1239. hum.WalkSpeed = oldws
  1240. end
  1241. play()
  1242. humanoid.WalkSpeed = 30
  1243. setrope(1)
  1244. spawn(function()
  1245. soundeffect(soundlist.Wow, 1, 1, char.Torso, {ForceWait = false})
  1246. attacking = false
  1247. end)
  1248. end
  1249. end)
  1250. if settings.CustomAnim or true then
  1251. if char:FindFirstChild("Animate") then
  1252. char.Animate:Destroy()
  1253. end
  1254. for _,track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1255. track:Stop()
  1256. end
  1257. humanoid.Running:connect(function(ws)
  1258. movespeed = ws
  1259. end)
  1260. end
  1261.  
  1262. spawn(function()
  1263. repeat swait()
  1264. local wall = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,0,-1).unit * 4), char) == nil
  1265. local air = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4), char) == nil
  1266. local tvel = rootpart.Velocity
  1267. if air and tvel.Y > 0 then
  1268. animpose = "Jump"
  1269. end
  1270. if air and tvel.Y < 0 then
  1271. animpose = "Fall"
  1272. end
  1273. if not air and (math.abs(humanoid.MoveDirection.X)+math.abs(humanoid.MoveDirection.Z))>0 then
  1274. animpose = "Walking"
  1275. end
  1276. if not air and animpose == "Walking" and movespeed > 16 then
  1277. animpose = "Walking"--or Running
  1278. end
  1279. if not air and movespeed == 0 then
  1280. animpose = "Idle"
  1281. end
  1282. until not settings.CustomAnim
  1283. end)
  1284. for i,v in pairs(char:GetDescendants()) do
  1285. pcall(function()
  1286. v.Transparency = 1
  1287. end)
  1288. end
  1289.  
  1290. local change = 5
  1291. local cos,rad,ang,cf = math.cos,math.rad,CFrame.Angles,CFrame.new
  1292. while swait() and settings.CustomAnim do
  1293. local num = tick()*change
  1294. if animpose == "Walking" then
  1295. end
  1296. if animpose == "Fall" then
  1297. end
  1298. if animpose == "Idle" then
  1299. end
  1300. if animpose == "Jump" then
  1301. end
  1302. end
Add Comment
Please, Sign In to add comment