Hugo1234cool

Untitled

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