Advertisement
XSleepyDemonX_17

Female Computer (Studio) ;)

Jul 15th, 2019
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.45 KB | None | 0 0
  1.  
  2.  
  3. --https://github.com/Mokiros/roblox-FE-compatibility
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. local RealPlayer = Player
  7. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  8.  
  9. --//====================================================\\--
  10. --|| CREATED BY XSLEEPYDEMONX_17
  11. --\\====================================================//--
  12.  
  13. wait(0.2)
  14.  
  15. Player = game:GetService("Players").LocalPlayer
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Backpack = Player.Backpack
  19. Character = Player.Character
  20. Humanoid = Character.Humanoid
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart["RootJoint"]
  30. Neck = Torso["Neck"]
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35.  
  36. IT = Instance.new
  37. CF = CFrame.new
  38. VT = Vector3.new
  39. RAD = math.rad
  40. C3 = Color3.new
  41. UD2 = UDim2.new
  42. BRICKC = BrickColor.new
  43. ANGLES = CFrame.Angles
  44. EULER = CFrame.fromEulerAnglesXYZ
  45. COS = math.cos
  46. ACOS = math.acos
  47. SIN = math.sin
  48. ASIN = math.asin
  49. ABS = math.abs
  50. MRANDOM = math.random
  51. FLOOR = math.floor
  52.  
  53. --//=================================\\
  54. --|| USEFUL VALUES
  55. --\\=================================//
  56.  
  57. Animation_Speed = 3
  58. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  59. local Speed = 16
  60. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  61. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  62. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  63. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  64. local DAMAGEMULTIPLIER = 1
  65. local ANIM = "Idle"
  66. local ATTACK = false
  67. local EQUIPPED = false
  68. local HOLD = false
  69. local COMBO = 1
  70. local Rooted = false
  71. local SINE = 0
  72. local KEYHOLD = false
  73. local CHANGE = 2 / Animation_Speed
  74. local WALKINGANIM = false
  75. local VALUE1 = false
  76. local VALUE2 = false
  77. local ROBLOXIDLEANIMATION = IT("Animation")
  78. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  79. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  80. --ROBLOXIDLEANIMATION.Parent = Humanoid
  81. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  82. WEAPONGUI.Name = "Weapon GUI"
  83. local Weapon = IT("Model")
  84. Weapon.Name = "Adds"
  85. local Effects = IT("Folder", Weapon)
  86. Effects.Name = "Effects"
  87. local ANIMATOR = Humanoid.Animator
  88. local ANIMATE = Character.Animate
  89. local UNANCHOR = true
  90. local PINK = BRICKC"Pink".Color
  91. local ICONS = {"167300717","413366101","839798346","413372165","413366777","132769874","99340890","413364594","64940934","99340699"}
  92.  
  93. --//=================================\\
  94. --\\=================================//
  95.  
  96.  
  97. --//=================================\\
  98. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  99. --\\=================================//
  100.  
  101. ArtificialHB = Instance.new("BindableEvent", script)
  102. ArtificialHB.Name = "ArtificialHB"
  103.  
  104. script:WaitForChild("ArtificialHB")
  105.  
  106. frame = Frame_Speed
  107. tf = 0
  108. allowframeloss = false
  109. tossremainder = false
  110. lastframe = tick()
  111. script.ArtificialHB:Fire()
  112.  
  113. game:GetService("RunService").Heartbeat:connect(function(s, p)
  114. tf = tf + s
  115. if tf >= frame then
  116. if allowframeloss then
  117. script.ArtificialHB:Fire()
  118. lastframe = tick()
  119. else
  120. for i = 1, math.floor(tf / frame) do
  121. script.ArtificialHB:Fire()
  122. end
  123. lastframe = tick()
  124. end
  125. if tossremainder then
  126. tf = 0
  127. else
  128. tf = tf - frame * math.floor(tf / frame)
  129. end
  130. end
  131. end)
  132.  
  133. --//=================================\\
  134. --\\=================================//
  135.  
  136. --//=================================\\
  137. --|| SOME FUNCTIONS
  138. --\\=================================//
  139.  
  140. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  141. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  142. end
  143.  
  144. function PositiveAngle(NUMBER)
  145. if NUMBER >= 0 then
  146. NUMBER = 0
  147. end
  148. return NUMBER
  149. end
  150.  
  151. function NegativeAngle(NUMBER)
  152. if NUMBER <= 0 then
  153. NUMBER = 0
  154. end
  155. return NUMBER
  156. end
  157.  
  158. function Swait(NUMBER)
  159. if NUMBER == 0 or NUMBER == nil then
  160. ArtificialHB.Event:wait()
  161. else
  162. for i = 1, NUMBER do
  163. ArtificialHB.Event:wait()
  164. end
  165. end
  166. end
  167.  
  168. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  169. local NEWMESH = IT(MESH)
  170. if MESH == "SpecialMesh" then
  171. NEWMESH.MeshType = MESHTYPE
  172. if MESHID ~= "nil" and MESHID ~= "" then
  173. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  174. end
  175. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  176. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  177. end
  178. end
  179. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  180. NEWMESH.Scale = SCALE
  181. NEWMESH.Parent = PARENT
  182. return NEWMESH
  183. end
  184.  
  185. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  186. local NEWPART = IT("Part")
  187. NEWPART.formFactor = FORMFACTOR
  188. NEWPART.Reflectance = REFLECTANCE
  189. NEWPART.Transparency = TRANSPARENCY
  190. NEWPART.CanCollide = false
  191. NEWPART.Locked = true
  192. NEWPART.Anchored = true
  193. if ANCHOR == false then
  194. NEWPART.Anchored = false
  195. end
  196. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  197. NEWPART.Name = NAME
  198. NEWPART.Size = SIZE
  199. NEWPART.Position = Torso.Position
  200. NEWPART.Material = MATERIAL
  201. NEWPART:BreakJoints()
  202. NEWPART.Parent = PARENT
  203. return NEWPART
  204. end
  205.  
  206. local function weldBetween(a, b)
  207. local weldd = Instance.new("ManualWeld")
  208. weldd.Part0 = a
  209. weldd.Part1 = b
  210. weldd.C0 = CFrame.new()
  211. weldd.C1 = b.CFrame:inverse() * a.CFrame
  212. weldd.Parent = a
  213. return weldd
  214. end
  215.  
  216.  
  217. function QuaternionFromCFrame(cf)
  218. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  219. local trace = m00 + m11 + m22
  220. if trace > 0 then
  221. local s = math.sqrt(1 + trace)
  222. local recip = 0.5 / s
  223. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  224. else
  225. local i = 0
  226. if m11 > m00 then
  227. i = 1
  228. end
  229. if m22 > (i == 0 and m00 or m11) then
  230. i = 2
  231. end
  232. if i == 0 then
  233. local s = math.sqrt(m00 - m11 - m22 + 1)
  234. local recip = 0.5 / s
  235. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  236. elseif i == 1 then
  237. local s = math.sqrt(m11 - m22 - m00 + 1)
  238. local recip = 0.5 / s
  239. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  240. elseif i == 2 then
  241. local s = math.sqrt(m22 - m00 - m11 + 1)
  242. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  243. end
  244. end
  245. end
  246.  
  247. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  248. local xs, ys, zs = x + x, y + y, z + z
  249. local wx, wy, wz = w * xs, w * ys, w * zs
  250. local xx = x * xs
  251. local xy = x * ys
  252. local xz = x * zs
  253. local yy = y * ys
  254. local yz = y * zs
  255. local zz = z * zs
  256. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  257. end
  258.  
  259. function QuaternionSlerp(a, b, t)
  260. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  261. local startInterp, finishInterp;
  262. if cosTheta >= 0.0001 then
  263. if (1 - cosTheta) > 0.0001 then
  264. local theta = ACOS(cosTheta)
  265. local invSinTheta = 1 / SIN(theta)
  266. startInterp = SIN((1 - t) * theta) * invSinTheta
  267. finishInterp = SIN(t * theta) * invSinTheta
  268. else
  269. startInterp = 1 - t
  270. finishInterp = t
  271. end
  272. else
  273. if (1 + cosTheta) > 0.0001 then
  274. local theta = ACOS(-cosTheta)
  275. local invSinTheta = 1 / SIN(theta)
  276. startInterp = SIN((t - 1) * theta) * invSinTheta
  277. finishInterp = SIN(t * theta) * invSinTheta
  278. else
  279. startInterp = t - 1
  280. finishInterp = t
  281. end
  282. end
  283. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  284. end
  285.  
  286. function Clerp(a, b, t)
  287. local qa = {QuaternionFromCFrame(a)}
  288. local qb = {QuaternionFromCFrame(b)}
  289. local ax, ay, az = a.x, a.y, a.z
  290. local bx, by, bz = b.x, b.y, b.z
  291. local _t = 1 - t
  292. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  293. end
  294.  
  295. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  296. local frame = IT("Frame")
  297. frame.BackgroundTransparency = TRANSPARENCY
  298. frame.BorderSizePixel = BORDERSIZEPIXEL
  299. frame.Position = POSITION
  300. frame.Size = SIZE
  301. frame.BackgroundColor3 = COLOR
  302. frame.BorderColor3 = BORDERCOLOR
  303. frame.Name = NAME
  304. frame.Parent = PARENT
  305. return frame
  306. end
  307.  
  308. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  309. local label = IT("TextLabel")
  310. label.BackgroundTransparency = 1
  311. label.Size = UD2(1, 0, 1, 0)
  312. label.Position = UD2(0, 0, 0, 0)
  313. label.TextColor3 = TEXTCOLOR
  314. label.TextStrokeTransparency = STROKETRANSPARENCY
  315. label.TextTransparency = TRANSPARENCY
  316. label.FontSize = TEXTFONTSIZE
  317. label.Font = TEXTFONT
  318. label.BorderSizePixel = BORDERSIZEPIXEL
  319. label.TextScaled = false
  320. label.Text = TEXT
  321. label.Name = NAME
  322. label.Parent = PARENT
  323. return label
  324. end
  325.  
  326. function NoOutlines(PART)
  327. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  328. end
  329.  
  330. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  331. local NEWWELD = IT(TYPE)
  332. NEWWELD.Part0 = PART0
  333. NEWWELD.Part1 = PART1
  334. NEWWELD.C0 = C0
  335. NEWWELD.C1 = C1
  336. NEWWELD.Parent = PARENT
  337. return NEWWELD
  338. end
  339.  
  340. local S = IT("Sound")
  341. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  342. local NEWSOUND = nil
  343. coroutine.resume(coroutine.create(function()
  344. NEWSOUND = S:Clone()
  345. NEWSOUND.Parent = PARENT
  346. NEWSOUND.Volume = VOLUME
  347. NEWSOUND.Pitch = PITCH
  348. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  349. NEWSOUND:play()
  350. if DOESLOOP == true then
  351. NEWSOUND.Looped = true
  352. else
  353. repeat Swait() until NEWSOUND.Playing == false
  354. NEWSOUND:remove()
  355. end
  356. end))
  357. return NEWSOUND
  358. end
  359.  
  360. function CFrameFromTopBack(at, top, back)
  361. local right = top:Cross(back)
  362. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  363. end
  364.  
  365. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  366. function WACKYEFFECT(Table)
  367. local TYPE = (Table.EffectType or "Sphere")
  368. local SIZE = (Table.Size or VT(1,1,1))
  369. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  370. local TRANSPARENCY = (Table.Transparency or 0)
  371. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  372. local CFRAME = (Table.CFrame or Torso.CFrame)
  373. local MOVEDIRECTION = (Table.MoveToPos or nil)
  374. local ROTATION1 = (Table.RotationX or 0)
  375. local ROTATION2 = (Table.RotationY or 0)
  376. local ROTATION3 = (Table.RotationZ or 0)
  377. local MATERIAL = (Table.Material or "Neon")
  378. local COLOR = (Table.Color or C3(1,1,1))
  379. local TIME = (Table.Time or 45)
  380. local SOUNDID = (Table.SoundID or nil)
  381. local SOUNDPITCH = (Table.SoundPitch or nil)
  382. local SOUNDVOLUME = (Table.SoundVolume or nil)
  383. coroutine.resume(coroutine.create(function()
  384. local PLAYSSOUND = false
  385. local SOUND = nil
  386. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  387. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  388. PLAYSSOUND = true
  389. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  390. end
  391. EFFECT.Color = COLOR
  392. local MSH = nil
  393. if TYPE == "Sphere" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  395. elseif TYPE == "Block" then
  396. MSH = IT("BlockMesh",EFFECT)
  397. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  398. elseif TYPE == "Wave" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  400. elseif TYPE == "Ring" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.01), VT(0,0,0))
  402. elseif TYPE == "Slash" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  404. elseif TYPE == "Round Slash" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  406. elseif TYPE == "Swirl" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  408. elseif TYPE == "Skull" then
  409. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  410. elseif TYPE == "Crystal" then
  411. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  412. elseif TYPE == "Box" then
  413. MSH = IT("BlockMesh",EFFECT)
  414. MSH.Scale = SIZE
  415. end
  416. if MSH ~= nil then
  417. local MOVESPEED = nil
  418. if MOVEDIRECTION ~= nil then
  419. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  420. end
  421. local GROWTH = SIZE - ENDSIZE
  422. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  423. if TYPE == "Block" then
  424. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  425. else
  426. EFFECT.CFrame = CFRAME
  427. end
  428. for LOOP = 1, TIME do
  429. Swait()
  430. MSH.Scale = MSH.Scale - GROWTH/TIME
  431. if TYPE == "Wave" then
  432. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  433. end
  434. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  435. if TYPE == "Block" then
  436. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  437. else
  438. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  439. end
  440. if MOVEDIRECTION ~= nil then
  441. local ORI = EFFECT.Orientation
  442. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  443. EFFECT.Orientation = ORI
  444. end
  445. end
  446. if PLAYSSOUND == false then
  447. EFFECT:remove()
  448. else
  449. repeat Swait() until SOUND.Playing == false
  450. EFFECT:remove()
  451. end
  452. else
  453. if PLAYSSOUND == false then
  454. EFFECT:remove()
  455. else
  456. repeat Swait() until SOUND.Playing == false
  457. EFFECT:remove()
  458. end
  459. end
  460. end))
  461. end
  462.  
  463. function MakeForm(PART,TYPE)
  464. if TYPE == "Cyl" then
  465. local MSH = IT("CylinderMesh",PART)
  466. elseif TYPE == "Ball" then
  467. local MSH = IT("SpecialMesh",PART)
  468. MSH.MeshType = "Sphere"
  469. elseif TYPE == "Wedge" then
  470. local MSH = IT("SpecialMesh",PART)
  471. MSH.MeshType = "Wedge"
  472. end
  473. end
  474.  
  475. Debris = game:GetService("Debris")
  476.  
  477. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  478. local DIRECTION = CF(StartPos,EndPos).lookVector
  479. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  480. end
  481.  
  482. function turnto(position)
  483. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  484. end
  485.  
  486. --//=================================\\
  487. --|| WEAPON CREATION
  488. --\\=================================//
  489.  
  490. RightArm:remove()
  491. LeftArm:remove()
  492. RightLeg:remove()
  493. LeftLeg:remove()
  494. Humanoid.HipHeight = 6
  495. Head:ClearAllChildren()
  496. Head.Transparency = 1
  497. Torso.Transparency = 1
  498.  
  499. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,2,1),false)
  500. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  501. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(1.6,1.6,1.5),false)
  502. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0,0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  503. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,0.2,0.5),false)
  504. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0.9,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  505. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,0.2,0.5),false)
  506. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,-0.9,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  507. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(0.2,1.8,0.5),false)
  508. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0.9,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  509. local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(0.2,1.8,0.5),false)
  510. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(-0.9,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  511.  
  512. local SCREEN = CreatePart(3, Weapon, "Neon", 0, 0, "Pink", "SCREEN", VT(1.8,1.8,0.45),false)
  513. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, SCREEN, CF(0,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  514. local Eye1 = CreatePart(3, Weapon, "Neon", 0, 0, "Pink", "Eyeball", VT(0.3,0.7,0.2),false)
  515. MakeForm(Eye1,"Triangle")
  516. Eye1.Color = C3(0,0,0)
  517. CreateWeldOrSnapOrMotor("Weld", SCREEN, SCREEN, Eye1, CF(0.3,0.2,-0.2) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  518. local Eye2 = CreatePart(3, Weapon, "Neon", 0, 0, "Pink", "Eyeball", VT(0.3,0.7,0.2),false)
  519. MakeForm(Eye2,"Triangle")
  520. Eye2.Color = C3(0,0,0)
  521. CreateWeldOrSnapOrMotor("Weld", SCREEN, SCREEN, Eye2, CF(-0.3,0.2,-0.2) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0))
  522.  
  523. local TIE = CreatePart(3, Weapon, "Neon", 0, 0, "Pink", "TIE", VT(0,0,0),false)
  524. local TIEWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, TIE, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,1.8,0.65))
  525. CreateMesh("SpecialMesh", TIE, "FileMesh", "151778432", "151778499", VT(1,1,1)*1.5, VT(0,0,0))
  526.  
  527. for _, c in pairs(Weapon:GetChildren()) do
  528. if c.ClassName == "Part" then
  529. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  530. end
  531. end
  532.  
  533. local SKILLTEXTCOLOR = C3(0,0,0)
  534. local SKILLFONT = "SciFi"
  535. local SKILLTEXTSIZE = 6
  536.  
  537. Weapon.Parent = Character
  538.  
  539. Humanoid.Died:connect(function()
  540. ATTACK = true
  541. end)
  542.  
  543. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  544. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  545. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  546. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  547.  
  548. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Chuck", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  549. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Suck", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  550. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Disable", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  551. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
  552.  
  553. --//=================================\\
  554. --|| DAMAGE FUNCTIONS
  555. --\\=================================//
  556.  
  557. function StatLabel(CFRAME, TEXT, COLOR)
  558. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  559. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  560. local BODYGYRO = IT("BodyGyro", STATPART)
  561. game:GetService("Debris"):AddItem(STATPART ,5)
  562. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  563. BILLBOARDGUI.Adornee = STATPART
  564. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  565. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  566. BILLBOARDGUI.AlwaysOnTop = false
  567. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  568. TEXTLABEL.BackgroundTransparency = 1
  569. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  570. TEXTLABEL.Text = TEXT
  571. TEXTLABEL.Font = SKILLFONT
  572. TEXTLABEL.FontSize="Size42"
  573. TEXTLABEL.TextColor3 = COLOR
  574. TEXTLABEL.TextStrokeTransparency = 0
  575. TEXTLABEL.TextScaled = true
  576. TEXTLABEL.TextWrapped = true
  577. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  578. for i = 1, 50 do
  579. Swait()
  580. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  581. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  582. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  583. end
  584. THEPART.Parent = nil
  585. end),STATPART, TEXTLABEL)
  586. end
  587.  
  588. --//=================================\\
  589. --|| DAMAGING
  590. --\\=================================//
  591.  
  592. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  593. if Humanoid.MaxHealth == math.huge then
  594. Humanoid.Parent:BreakJoints()
  595. local TORS = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  596. local REMAIN = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(3,3,3),false)
  597. REMAIN.CFrame = TORS.CFrame
  598. REMAIN.CanCollide = true
  599. local GUI = Instance.new("BillboardGui",REMAIN)
  600. GUI.Size = UDim2.new(3,0,3,0)
  601. GUI.Adornee = REMAIN
  602. local GUI2 = IT("ImageLabel",GUI)
  603. GUI2.BackgroundTransparency = 1
  604. GUI2.BorderSizePixel = 0
  605. GUI2.Size = UDim2.new(1,0,1,0)
  606. GUI2.SizeConstraint = "RelativeYY"
  607. GUI2.Image = "http://www.roblox.com/asset/?id=167300717"
  608. CreateSound("681582832", REMAIN, 3, 1, false)
  609. Debris:AddItem(REMAIN,15)
  610. if TORS then
  611. end
  612. Humanoid.Parent:remove()
  613. else
  614. local defence = Instance.new("BoolValue",Humanoid.Parent)
  615. defence.Name = ("HitBy"..Player.Name)
  616. game:GetService("Debris"):AddItem(defence, 0.001)
  617. Damage = Damage * DAMAGEMULTIPLIER
  618. if Humanoid.Health ~= 0 then
  619. local CritChance = MRANDOM(1,100)
  620. if CritChance < CritRate + 1 then
  621. Damage = Damage*CritMultiplier
  622. end
  623. if Damage > Humanoid.Health then
  624. Damage = math.ceil(Humanoid.Health)
  625. if Damage == 0 then
  626. Damage = 0.1
  627. end
  628. end
  629. Humanoid.Health = Humanoid.Health - Damage
  630. if Humanoid.Parent:FindFirstChild("Head") then
  631. if CritChance < CritRate + 1 then
  632. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  633. else
  634. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  635. end
  636. end
  637. if Humanoid.Health == 0 or Humanoid.MaxHealth == "inf" then
  638. local TORS = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  639. local REMAIN = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(3,3,3),false)
  640. REMAIN.CFrame = TORS.CFrame
  641. REMAIN.CanCollide = true
  642. local GUI = Instance.new("BillboardGui",REMAIN)
  643. GUI.Size = UDim2.new(3,0,3,0)
  644. GUI.Adornee = REMAIN
  645. local GUI2 = IT("ImageLabel",GUI)
  646. GUI2.BackgroundTransparency = 1
  647. GUI2.BorderSizePixel = 0
  648. GUI2.Size = UDim2.new(1,0,1,0)
  649. GUI2.SizeConstraint = "RelativeYY"
  650. GUI2.Image = "http://www.roblox.com/asset/?id=167300717"
  651. CreateSound("681582832", REMAIN, 3, 1, false)
  652. Debris:AddItem(REMAIN,15)
  653. if TORS then
  654. end
  655. Humanoid.Parent:remove()
  656. end
  657. end
  658. end
  659. end
  660.  
  661. --//=================================\\
  662. --|| ATTACK FUNCTIONS AND STUFF
  663. --\\=================================//
  664.  
  665. function Chuck()
  666. ATTACK = true
  667. Rooted = false
  668. CreateSound("11900833", SCREEN, 3, 1, false)
  669. coroutine.resume(coroutine.create(function()
  670. local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  671. TOCHUCK.CFrame = CF(SCREEN.Position,Mouse.Hit.p)
  672. local GUI = Instance.new("BillboardGui",TOCHUCK)
  673. GUI.Size = UDim2.new(1,0,1,0)
  674. GUI.Adornee = TOCHUCK
  675. local GUI2 = IT("ImageLabel",GUI)
  676. GUI2.BackgroundTransparency = 1
  677. GUI2.BorderSizePixel = 0
  678. GUI2.Size = UDim2.new(1,0,1,0)
  679. GUI2.SizeConstraint = "RelativeYY"
  680. GUI2.Image = "http://www.roblox.com/asset/?id="..ICONS[MRANDOM(1,#ICONS)]
  681. for i = 1, 100 do
  682. Swait()
  683. TOCHUCK.CFrame = TOCHUCK.CFrame*CF(0,0,-1)
  684. local HIT = Raycast(TOCHUCK.Position, TOCHUCK.CFrame.lookVector, 1.5, Character)
  685. if HIT ~= nil then
  686. if HIT.Parent.ClassName == "Model" then
  687. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  688. CreateSound("131237241", HIT, 3, 1, false)
  689. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(7,14),4,3)
  690. local bv = Instance.new("BodyVelocity")
  691. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  692. bv.velocity = CF(TOCHUCK.Position,HIT.Position).lookVector*15
  693. bv.Parent = HIT
  694. Debris:AddItem(bv,0.1)
  695. local bv = Instance.new("BodyVelocity")
  696. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  697. bv.velocity = CF(HIT.Position,TOCHUCK.Position).lookVector*15
  698. bv.Parent = TOCHUCK
  699. Debris:AddItem(bv,0.1)
  700. end
  701. end
  702. break
  703. end
  704. TOCHUCK.CFrame = TOCHUCK.CFrame*CF(0,0,-1)
  705. local HIT = Raycast(TOCHUCK.Position, TOCHUCK.CFrame.lookVector, 1.5, Character)
  706. if HIT ~= nil then
  707. if HIT.Parent.ClassName == "Model" then
  708. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  709. CreateSound("131237241", HIT, 3, 1, false)
  710. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(7,14),4,3)
  711. local bv = Instance.new("BodyVelocity")
  712. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  713. bv.velocity = CF(TOCHUCK.Position,HIT.Position).lookVector*15
  714. bv.Parent = HIT
  715. Debris:AddItem(bv,0.1)
  716. local bv = Instance.new("BodyVelocity")
  717. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  718. bv.velocity = CF(HIT.Position,TOCHUCK.Position).lookVector*15
  719. bv.Parent = TOCHUCK
  720. Debris:AddItem(bv,0.1)
  721. end
  722. end
  723. break
  724. end
  725. end
  726. TOCHUCK.CanCollide = true
  727. TOCHUCK.Anchored = false
  728. Debris:AddItem(TOCHUCK,5)
  729. end))
  730. for i=0, 0.2, 0.1 / Animation_Speed do
  731. Swait()
  732. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  733. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(-5), RAD(0), RAD(0))* CF(0,0,-0.1), 1 / Animation_Speed)
  734. end
  735. ATTACK = false
  736. Rooted = false
  737. end
  738.  
  739. function Suck()
  740. local target = nil
  741. local targettorso = nil
  742. if Mouse.Target ~= nil then
  743. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  744. target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  745. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  746. end
  747. end
  748. if target ~= nil then
  749. VALUE1 = true
  750. CreateSound("131228548", SCREEN, 10, 1, false)
  751. targettorso.Anchored = true
  752. local GYRO = IT("BodyGyro",RootPart)
  753. GYRO.D = 100
  754. GYRO.P = 2000
  755. GYRO.MaxTorque = VT(0,999999999999999999,0)
  756. GYRO.cframe = CF(RootPart.Position,targettorso.Position)
  757. wait(1.5)
  758. GYRO:remove()
  759. coroutine.resume(coroutine.create(function()
  760. local DISTANCE = 10
  761. local REEEE = CreateSound("1278710301", targettorso, 5, 1, true)
  762. repeat
  763. Swait()
  764. targettorso.CFrame = CF(targettorso.Position,RootPart.Position)*CF(0,0,-1)
  765. DISTANCE = (targettorso.Position - RootPart.Position).Magnitude
  766. targettorso.Anchored = true
  767. target.PlatformStand = true
  768. until DISTANCE < 5
  769. REEEE.Looped = false
  770. targettorso.Anchored = false
  771. wait(0.5)
  772. target.PlatformStand = false
  773. end))
  774. VALUE1 = false
  775. end
  776. end
  777.  
  778. function Disable()
  779. local target = nil
  780. local targettorso = nil
  781. if Mouse.Target ~= nil then
  782. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  783. target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  784. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  785. end
  786. end
  787. if target ~= nil then
  788. VALUE1 = true
  789. targettorso.Anchored = true
  790. CreateSound("191456748", SCREEN, 10, 1, false)
  791. local GYRO = IT("BodyGyro",RootPart)
  792. GYRO.D = 100
  793. GYRO.P = 2000
  794. GYRO.MaxTorque = VT(0,999999999999999999,0)
  795. GYRO.cframe = CF(RootPart.Position,targettorso.Position)
  796. wait(1)
  797. WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(5,5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 314970790, SoundPitch = 1, SoundVolume = 3})
  798. GYRO:remove()
  799. targettorso.CFrame = CF(targettorso.Position,RootPart.Position)
  800. targettorso.Anchored = false
  801. for _, c in pairs(target.Parent:GetChildren()) do
  802. if c.ClassName == "LocalScript" then
  803. local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  804. TOCHUCK.CFrame = targettorso.CFrame
  805. local GUI = Instance.new("BillboardGui",TOCHUCK)
  806. GUI.Size = UDim2.new(1,0,1,0)
  807. GUI.Adornee = TOCHUCK
  808. local GUI2 = IT("ImageLabel",GUI)
  809. GUI2.BackgroundTransparency = 1
  810. GUI2.BorderSizePixel = 0
  811. GUI2.Size = UDim2.new(1,0,1,0)
  812. GUI2.SizeConstraint = "RelativeYY"
  813. GUI2.Image = "http://www.roblox.com/asset/?id=99340858"
  814. c.Disabled = true
  815. c.Parent = TOCHUCK
  816. coroutine.resume(coroutine.create(function()
  817. wait()
  818. TOCHUCK.Anchored = false
  819. TOCHUCK.CanCollide = true
  820. end))
  821. coroutine.resume(coroutine.create(function()
  822. wait(MRANDOM(3,6))
  823. local DISTANCE = 10
  824. TOCHUCK.Anchored = true
  825. TOCHUCK.CanCollide = false
  826. repeat
  827. Swait()
  828. TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1)
  829. DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude
  830. until DISTANCE < 2
  831. TOCHUCK:remove()
  832. end))
  833. elseif c.ClassName == "Script" then
  834. local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  835. TOCHUCK.CFrame = targettorso.CFrame
  836. local GUI = Instance.new("BillboardGui",TOCHUCK)
  837. GUI.Size = UDim2.new(1,0,1,0)
  838. GUI.Adornee = TOCHUCK
  839. local GUI2 = IT("ImageLabel",GUI)
  840. GUI2.BackgroundTransparency = 1
  841. GUI2.BorderSizePixel = 0
  842. GUI2.Size = UDim2.new(1,0,1,0)
  843. GUI2.SizeConstraint = "RelativeYY"
  844. GUI2.Image = "http://www.roblox.com/asset/?id=99340890"
  845. c.Disabled = true
  846. c.Parent = TOCHUCK
  847. coroutine.resume(coroutine.create(function()
  848. wait()
  849. TOCHUCK.Anchored = false
  850. TOCHUCK.CanCollide = true
  851. end))
  852. coroutine.resume(coroutine.create(function()
  853. wait(MRANDOM(3,6))
  854. local DISTANCE = 10
  855. TOCHUCK.Anchored = true
  856. TOCHUCK.CanCollide = false
  857. repeat
  858. Swait()
  859. TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1)
  860. DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude
  861. until DISTANCE < 1.2
  862. TOCHUCK:remove()
  863. end))
  864. end
  865. end
  866. target.PlatformStand = true
  867. CreateSound("330010786", targettorso, 10, 1, false)
  868. local bv = Instance.new("BodyVelocity")
  869. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  870. bv.velocity = CF(VT(RootPart.Position.X,targettorso.Position.Y-10,RootPart.Position.Z),targettorso.Position).lookVector*350
  871. bv.Parent = targettorso
  872. Debris:AddItem(bv,0.05)
  873. VALUE1 = false
  874. end
  875. end
  876.  
  877. function Warp()
  878. local FRAME = RootPart.Position
  879. for i = 1, 6 do
  880. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Pink".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  881. end
  882. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
  883. for i = 1, 6 do
  884. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Pink".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  885. end
  886. end
  887.  
  888. function HavingFun()
  889. ATTACK = true
  890. VALUE2 = true
  891. Speed = 65
  892. local SONGS = {329896322,162986891,1027314531,171131642,248967176,922850176,966409302,255023933}
  893. local PISS = CreateSound(SONGS[MRANDOM(1,#SONGS)], SCREEN, 10, 1, true)
  894. repeat
  895. for i = 1, 5 do
  896. Swait()
  897. PISS.Parent = SCREEN
  898. SCREEN.Color = PINK
  899. PINK = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  900. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  901. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * CF(0,0,-0.1), 1 / Animation_Speed)
  902. end
  903. for i = 1, 5 do
  904. Swait()
  905. PISS.Parent = SCREEN
  906. SCREEN.Color = PINK
  907. PINK = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  909. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  910. end
  911. if MRANDOM(1,15) == 1 then
  912. for i = 1, 15 do
  913. Swait()
  914. if VALUE2 == false then
  915. break
  916. end
  917. PISS.Parent = SCREEN
  918. SCREEN.Color = PINK
  919. PINK = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  920. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(i*18), RAD(0), RAD(0)), 1 / Animation_Speed)
  921. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  922. end
  923. end
  924. if MRANDOM(1,15) == 1 then
  925. for i = 1, 15 do
  926. Swait()
  927. if VALUE2 == false then
  928. break
  929. end
  930. PISS.Parent = SCREEN
  931. SCREEN.Color = PINK
  932. PINK = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  933. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(i*18)), 1 / Animation_Speed)
  934. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  935. end
  936. end
  937. if MRANDOM(1,15) == 1 then
  938. for i = 1, 15 do
  939. Swait()
  940. if VALUE2 == false then
  941. break
  942. end
  943. PISS.Parent = SCREEN
  944. SCREEN.Color = PINK
  945. PINK = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255)
  946. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(i*18), RAD(0)), 1 / Animation_Speed)
  947. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  948. end
  949. end
  950. until VALUE2 == false
  951. Speed = 16
  952. PISS:remove()
  953. SCREEN.BrickColor = BRICKC"Pink"
  954. PINK = BRICKC"PINK".Color
  955. ATTACK = false
  956. end
  957.  
  958. --//=================================\\
  959. --|| ASSIGN THINGS TO KEYS
  960. --\\=================================//
  961.  
  962. function KeyDown(Key)
  963. KEYHOLD = true
  964. if VALUE1 == false and ATTACK == false then
  965. if Key == "z" then
  966. Chuck()
  967. end
  968.  
  969. if Key == "b" then
  970. Suck()
  971. end
  972.  
  973. if Key == "c" then
  974. Disable()
  975. end
  976.  
  977. if Key == "v" then
  978. Warp()
  979. end
  980.  
  981. if Key == "t" then
  982. CreateSound("1395854043", Effects, 5, 1, false)
  983. end
  984. end
  985. if (VALUE1 == false and ATTACK == false) or VALUE2 == true then
  986. if Key == "q" then
  987. if VALUE2 == false then
  988. HavingFun()
  989. elseif VALUE2 == true then
  990. VALUE2 = false
  991. end
  992. end
  993. end
  994. end
  995.  
  996. function KeyUp(Key)
  997. KEYHOLD = false
  998. end
  999.  
  1000. Mouse.KeyDown:connect(function(NEWKEY)
  1001. KeyDown(NEWKEY)
  1002. end)
  1003. Mouse.KeyUp:connect(function(NEWKEY)
  1004. KeyUp(NEWKEY)
  1005. end)
  1006.  
  1007. --//=================================\\
  1008. --\\=================================//
  1009.  
  1010.  
  1011. function unanchor()
  1012. if UNANCHOR == true then
  1013. g = Character:GetChildren()
  1014. for i = 1, #g do
  1015. if g[i].ClassName == "Part" then
  1016. g[i].Anchored = false
  1017. end
  1018. end
  1019. end
  1020. end
  1021.  
  1022.  
  1023. --//=================================\\
  1024. --|| WRAP THE WHOLE SCRIPT UP
  1025. --\\=================================//
  1026.  
  1027. Humanoid.Changed:connect(function(Jump)
  1028. if Jump == "Jump" and (Disable_Jump == true) then
  1029. Humanoid.Jump = false
  1030. end
  1031. end)
  1032.  
  1033. local LOOPED = 0
  1034.  
  1035. while true do
  1036. Swait()
  1037. script.Parent = WEAPONGUI
  1038. ANIMATE.Parent = nil
  1039. Character.Parent = workspace
  1040. Humanoid.Parent = Character
  1041. if Humanoid then
  1042. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1043. IDLEANIMATION:Play()
  1044. end
  1045. SINE = SINE + CHANGE
  1046. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1047. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1048. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  1049. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1050. if ATTACK == false then
  1051. if TORSOVELOCITY < 1 then
  1052. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1053. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1054. elseif TORSOVELOCITY > 1 then
  1055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1056. TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed)
  1057. end
  1058. end
  1059. unanchor()
  1060. Humanoid.MaxHealth = "inf"
  1061. Humanoid.Health = "inf"
  1062. if Rooted == false then
  1063. Disable_Jump = false
  1064. Humanoid.WalkSpeed = Speed
  1065. elseif Rooted == true then
  1066. Disable_Jump = true
  1067. Humanoid.WalkSpeed = 0
  1068. end
  1069. Head:ClearAllChildren()
  1070. Head.Transparency = 1
  1071. for _, c in pairs(Character:GetChildren()) do
  1072. if c.ClassName == "Part" then
  1073. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1074. c:remove()
  1075. end
  1076. end
  1077. script.Parent = WEAPONGUI
  1078. Humanoid.Name = "Roblox_Studio"
  1079. LOOPED = LOOPED + 1
  1080. if LOOPED == 15 and HITFLOOR then
  1081. LOOPED = 0
  1082. WACKYEFFECT({EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(0.5,0.5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(0),RAD(0),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PINK, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1083. end
  1084. if LOOPED > 15 then
  1085. LOOPED = 0
  1086. end
  1087. end
  1088.  
  1089. --//=================================\\
  1090. --\\=================================//
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096. --//====================================================\\--
  1097. --|| END OF SCRIPT
  1098. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement