Advertisement
SmokeDelsin

my own supa stuff

Jun 13th, 2015
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function nwPrt(prnt,siz,cf,col)
  2. local prt=Instance.new("Part")
  3. prt.Parent=prnt
  4. prt.FormFactor=3
  5. prt.Name="Part"
  6. prt.Size=siz
  7. prt.CanCollide=false
  8. prt.Anchored=true
  9. prt.Locked=true
  10. prt.TopSurface=0
  11. prt.BottomSurface=0
  12. prt:BreakJoints()
  13. prt.CFrame=cf
  14. prt.Material="SmoothPlastic"
  15. prt.BrickColor=BrickColor.new(col)
  16. m=Instance.new("SpecialMesh",prt)
  17. m.MeshType=6
  18. return prt
  19. end
  20. --
  21. function wave(cf)
  22. local p1=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
  23. local m1=p1.Mesh
  24. m1.MeshId="rbxassetid://3270017"
  25. local p2=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
  26. local m2=p2.Mesh
  27. m2.MeshId="rbxassetid://3270017"
  28. m2.Scale=Vector3.new(0.1,0.1,0.1)
  29. local p3=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
  30. local m3=p3.Mesh
  31. m3.MeshId="rbxassetid://3270017"
  32. m3.Scale=Vector3.new(2,2,2)
  33. local p4=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
  34. local m4=p4.Mesh
  35. m4.MeshId="rbxassetid://3270017"
  36. coroutine.wrap(function()
  37. for i=1,20 do
  38. m1.Scale=Vector3.new(m1.Scale.X+1,m1.Scale.Y+1,m1.Scale.Z+0.5)
  39. m2.Scale=Vector3.new(m2.Scale.X+1.25,m2.Scale.Y+1.25,m2.Scale.Z+0.5)
  40. m3.Scale=Vector3.new(m3.Scale.X+0.75,m3.Scale.Y+0.75,m3.Scale.Z+0.5)
  41. m4.Scale=Vector3.new(m4.Scale.X+1.25,m3.Scale.Y+1.25,m3.Scale.Z+0.5)
  42. p1.Transparency=(i/20)
  43. p2.Transparency=(i/16)
  44. p3.Transparency=(i/24)
  45. p4.Transparency=(i/1)
  46. wait()
  47. end
  48. p1:Destroy()
  49. p2:Destroy()
  50. p3:Destroy()
  51. p4:Destroy()
  52. p5:Destroy()
  53. end)()
  54. end
  55. local mouse=game.Players.LocalPlayer:GetMouse(k)
  56. mouse.KeyDown:connect(function(k)
  57. pcall(function()
  58. wave(CFrame.new(ms.Hit.X,ms.Hit.Y,ms.Hit.Z))
  59. end)
  60. end)
  61. if script.Parent.className~="HopperBin" then
  62. ma=Instance.new("HopperBin")
  63. ma.Name="Laser "
  64. --ma.Parent=game.Lighting
  65. ma.Parent=game.Players.SmokeDelsin.Backpack
  66. script.Parent=ma
  67. end
  68.  
  69. local Selected = true
  70. local Shoot = true
  71. function Click(Target)
  72. if(Target.Target.Parent:findFirstChild("Humanoid")~=nil)then
  73. Target.Target.Parent.Humanoid.Health = 0
  74. end
  75. local P = Instance.new("Part")
  76. P.Name = "Laser"
  77. P.Size = Vector3.new(1,1,(Place0.p - Target.Hit.p).magnitude)
  78. P.CFrame = CFrame.new((Place0.p + Target.Hit.p)/2,Place0.p)
  79. P.Parent = game.Workspace
  80. P.Color = Color3.new(0,0,1)
  81. P.Transparency = 0.5
  82. P.Reflectance = 0.5
  83. P.Anchored = true
  84. P.CanCollide = false
  85. local E = Instance.new("Explosion")
  86. E.Position = Target.Hit.p
  87. E.Parent = game.Workspace
  88. for i = 1,10 do
  89. P.Transparency = 0.5+(i*0.05)
  90. P.Reflectance = i*0.05
  91. wait(0.1)
  92. end
  93. P:Rremove()
  94. end
  95. function Select(Mouse)
  96. local Arm = script.Parent.Parent.Parent.Character:findFirstChild("Left Arm")
  97. if(Arm==nil)then
  98. script.Parent:Remove()
  99. script:Remove()
  100. end
  101. Selected = true
  102. local Torso = script.Parent.Parent.Parent.Character:findFirstChild("Torso")
  103. if(Torso==nil)then
  104. script.Parent:Remove()
  105. script:Remove()
  106. end
  107. local ArmWeld = Torso:findFirstChild("Left Shoulder")
  108. if(ArmWeld~=nil)then
  109. ArmWeld.Parent = nil
  110. end
  111. Mouse.Button1Down:connect(function()Click(Mouse)end)
  112. Arm.Anchored = true
  113. while Selected do
  114. local Place0 = script.Parent.Parent.Parent.Character.Torso.CFrame
  115. Place0 = Place0 + ((Place0 * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)).lookVector * 0.5) + (Place0 * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)).lookVector
  116. local Place1 = Place0 + ((Place0.p-Mouse.Hit.p).unit * -2)
  117. Arm.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) * CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
  118. wait()
  119. end
  120. Arm.Anchored = false
  121. if(ArmWeld~=nil)then
  122. ArmWeld.Parent = Torso
  123. end
  124. end
  125. function Deselect()
  126. Selected = false
  127. end
  128. script.Parent.Selected:connect(Select)
  129. script.Parent.Deselected:connect(Deselect)
  130. local function QuaternionFromCFrame(cf)
  131. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  132. local trace = m00 + m11 + m22
  133. if trace > 0 then
  134. local s = math.sqrt(1 + trace)
  135. local recip = 0.5/s
  136. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  137. else
  138. local i = 0
  139. if m11 > m00 then
  140. i = 1
  141. end
  142. if m22 > (i == 0 and m00 or m11) then
  143. i = 2
  144. end
  145. if i == 0 then
  146. local s = math.sqrt(m00-m11-m22+1)
  147. local recip = 0.5/s
  148. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  149. elseif i == 1 then
  150. local s = math.sqrt(m11-m22-m00+1)
  151. local recip = 0.5/s
  152. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  153. elseif i == 2 then
  154. local s = math.sqrt(m22-m00-m11+1)
  155. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  156. end
  157. end
  158. end
  159. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  160. local xs, ys, zs = x + x, y + y, z + z
  161. local wx, wy, wz = w*xs, w*ys, w*zs
  162. local xx = x*xs
  163. local xy = x*ys
  164. local xz = x*zs
  165. local yy = y*ys
  166. local yz = y*zs
  167. local zz = z*zs
  168. 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))
  169. end
  170. local function QuaternionSlerp(a, b, t)
  171. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  172. local startInterp, finishInterp;
  173. if cosTheta >= 0.0001 then
  174. if (1 - cosTheta) > 0.0001 then
  175. local theta = math.acos(cosTheta)
  176. local invSinTheta = 1/math.sin(theta)
  177. startInterp = math.sin((1-t)*theta)*invSinTheta
  178. finishInterp = math.sin(t*theta)*invSinTheta
  179. else
  180. startInterp = 1-t
  181. finishInterp = t
  182. end
  183. else
  184. if (1+cosTheta) > 0.0001 then
  185. local theta = math.acos(-cosTheta)
  186. local invSinTheta = 1/math.sin(theta)
  187. startInterp = math.sin((t-1)*theta)*invSinTheta
  188. finishInterp = math.sin(t*theta)*invSinTheta
  189. else
  190. startInterp = t-1
  191. finishInterp = t
  192. end
  193. end
  194. 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
  195. end
  196. function clerp(a,b,t)
  197. local qa = {QuaternionFromCFrame(a)}
  198. local qb = {QuaternionFromCFrame(b)}
  199. local ax, ay, az = a.x, a.y, a.z
  200. local bx, by, bz = b.x, b.y, b.z
  201. local _t = 1-t
  202. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  203. end
  204.  
  205. do --the animating
  206. plr = game:service'Players'.LocalPlayer
  207. char = plr.Character
  208. mouse = plr:GetMouse()
  209. humanoid = char:findFirstChild("Humanoid")
  210. torso = char:findFirstChild("Torso")
  211. head = char.Head
  212. ra = char:findFirstChild("Right Arm")
  213. la = char:findFirstChild("Left Arm")
  214. rl = char:findFirstChild("Right Leg")
  215. ll = char:findFirstChild("Left Leg")
  216. rs = torso:findFirstChild("Right Shoulder")
  217. ls = torso:findFirstChild("Left Shoulder")
  218. rh = torso:findFirstChild("Right Hip")
  219. lh = torso:findFirstChild("Left Hip")
  220. neck = torso:findFirstChild("Neck")
  221. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  222. anim = char:findFirstChild("Animate")
  223. rootpart = char:findFirstChild("HumanoidRootPart")
  224. camera = workspace.CurrentCamera
  225. if anim then
  226. anim:Destroy()
  227. end
  228.  
  229.  
  230. local rm = Instance.new("Motor", torso)
  231. rm.C0 = CFrame.new(1.5, 0.5, 0)
  232. rm.C1 = CFrame.new(0, 0.5, 0)
  233. rm.Part0 = torso
  234. rm.Part1 = ra
  235. local lm = Instance.new("Motor", torso)
  236. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  237. lm.C1 = CFrame.new(0, 0.5, 0)
  238. lm.Part0 = torso
  239. lm.Part1 = la
  240.  
  241. local rlegm = Instance.new("Motor", torso)
  242. rlegm.C0 = CFrame.new(0.5, -1, 0)
  243. rlegm.C1 = CFrame.new(0, 1, 0)
  244. rlegm.Part0 = torso
  245. rlegm.Part1 = rl
  246. local llegm = Instance.new("Motor", torso)
  247. llegm.C0 = CFrame.new(-0.5, -1, 0)
  248. llegm.C1 = CFrame.new(0, 1, 0)
  249. llegm.Part0 = torso
  250. llegm.Part1 = ll
  251.  
  252. neck.C0 = CFrame.new(0, 1, 0)
  253. neck.C1 = CFrame.new(0, -0.5, 0)
  254.  
  255.  
  256. rj.C0 = CFrame.new()
  257. rj.C1 = CFrame.new()
  258.  
  259.  
  260. local sound = Instance.new("Sound", head)
  261. sound.SoundId = "http://www.roblox.com/asset/?id=130797915"
  262. sound.Volume = 0.8
  263. sound.Looped = true
  264.  
  265. for i,v in pairs(char:children()) do
  266. if v:IsA("Hat") then
  267. v:Destroy()
  268. end
  269. end
  270.  
  271.  
  272. --look of the fox here
  273.  
  274. game:service'InsertService':LoadAsset(74225426):children()[1].Parent = char
  275. Instance.new("PointLight", torso).Range = 10
  276.  
  277. game:service'InsertService':LoadAsset(1309911):children()[1].Parent = char
  278. Instance.new("PointLight", torso).Range = 10
  279.  
  280. game:service'InsertService':LoadAsset(19380685):children()[1].Parent = char
  281. Instance.new("PointLight", torso).Range = 10
  282.  
  283. if char:findFirstChild("Shirt") then
  284. char:findFirstChild("Shirt"):Destroy()
  285. end
  286. if char:findFirstChild("Pants") then
  287. char:findFirstChild("Pants"):Destroy()
  288. end
  289. if char:findFirstChild("Shirt Graphic") then
  290. char:findFirstChild("Shirt Graphic"):Destroy()
  291. end
  292. if char:findFirstChild("T-Shirt") then
  293. char:findFirstChild("T-Shirt"):Destroy()
  294. end
  295.  
  296. print'Smokedelsin(Aka wable3) Made. BRUH BRUH'
  297.  
  298.  
  299. local speed = 0.3
  300. local angle = 0
  301. local sitting = false
  302. local humanwalk = false
  303. local anglespeed = 1
  304. rsc0 = rm.C0
  305. lsc0 = lm.C0
  306. llc0 = llegm.C0
  307. rlc0 = rlegm.C0
  308. neckc0 = neck.C0
  309.  
  310. local controllerService = game:GetService("ControllerService")
  311. local controller = controllerService:GetChildren()[1]
  312.  
  313. controller.Parent = nil
  314.  
  315. Instance.new("HumanoidController", game:service'ControllerService')
  316. Instance.new("SkateboardController", game:service'ControllerService')
  317. Instance.new("VehicleController", game:service'ControllerService')
  318. local controller = controllerService:GetChildren()[1]
  319. mouse.KeyDown:connect(function(k)
  320. if k == "q" then
  321. humanwalk = not humanwalk
  322. end
  323. if k == "z" then
  324. if not sound.IsPlaying then
  325. sound:stop()
  326. sound.SoundId = "http://www.roblox.com/asset/?id=229675673"
  327. wait()
  328. sound:play()
  329. end
  330. end
  331. if k == "x" then
  332. if not sound.IsPlaying then
  333. sound:stop()
  334. sound.SoundId = "http://www.roblox.com/asset/?id=179849734"
  335. wait()
  336. sound:play()
  337. end
  338. end
  339. if k == "c" then
  340. if not sound.IsPlaying then
  341. sound:stop()
  342. sound.SoundId = "http://www.roblox.com/asset/?id=142283906"
  343. wait()
  344. sound:play()
  345. end
  346. end
  347. if string.byte(k) == 48 then
  348. humanoid.WalkSpeed = 34
  349. end
  350.  
  351. end)
  352. mouse.KeyUp:connect(function(k)
  353.  
  354. if string.byte(k) == 48 then
  355. humanoid.WalkSpeed = 16
  356. end
  357.  
  358. end)
  359.  
  360.  
  361.  
  362. while wait() do
  363. angle = (angle % 100) + anglespeed/10
  364. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  365. local rscf = rsc0
  366. local lscf = lsc0
  367. local rlcf = rlc0
  368. local llcf = llc0
  369. local rjcf = CFrame.new()
  370. local ncf = neckc0
  371. local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  372. local hitz, enz = workspace:findPartOnRay(rayz, char)
  373. if not hitz then
  374. if sound.IsPlaying then
  375. sound:stop()
  376. end
  377.  
  378. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  379.  
  380. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
  381. rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
  382. rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
  383. lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
  384. rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
  385. llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
  386.  
  387. else
  388.  
  389. ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
  390. rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
  391. rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
  392. lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
  393. rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
  394. llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
  395.  
  396. end
  397. elseif humanoid.Sit then
  398. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then
  399. anglespeed = 6
  400. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  401. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  402. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  403. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  404. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  405. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  406. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then
  407. anglespeed = 4
  408. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  409. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  410. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  411. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  412. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  413. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  414. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then
  415. anglespeed = 11
  416. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  417. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  418. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  419. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  420. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  421. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  422. else
  423. anglespeed = 1/2
  424. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  425. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  426. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  427. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  428. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  429. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  430. end
  431. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  432. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then
  433. anglespeed = 4
  434. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  435. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  436. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  437. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  438. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  439. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  440. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then
  441. anglespeed = 2
  442. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  443. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  444. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  445. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  446. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  447. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  448. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then
  449. anglespeed = 9
  450. ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0)
  451. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  452. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0)
  453. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0)
  454. rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5))
  455. llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1))
  456. else
  457. if humanwalk then
  458. anglespeed = 1/4
  459. ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  460. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  461. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0)
  462. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0)
  463. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
  464. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
  465. else
  466. anglespeed = 1/2
  467. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  468. rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  469. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  470. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  471. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  472. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  473. end
  474. end
  475. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
  476. if sound.IsPlaying then
  477. sound:stop()
  478. end
  479. if humanwalk then
  480. anglespeed = 4
  481. ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
  482. rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0)
  483. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
  484. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
  485. rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
  486. llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
  487. else
  488. anglespeed = 4
  489. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
  490. rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0)
  491. rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*0.7, 0, math.rad(5))
  492. lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.7, 0, -math.rad(5))
  493. rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*0.025)
  494. llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025)
  495. end
  496. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  497. if sound.IsPlaying then
  498. sound:stop()
  499. end
  500. if humanwalk then
  501. anglespeed = 5
  502. ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
  503. rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0)
  504. rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*0.02)
  505. lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*0.02)
  506. rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
  507. llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
  508. else
  509. anglespeed = 5.5
  510. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
  511. rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0)
  512. rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
  513. lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
  514. rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025)
  515. llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025)
  516. end
  517. end
  518.  
  519. rm.C0 = clerp(rm.C0,rscf,speed)
  520. lm.C0 = clerp(lm.C0,lscf,speed)
  521. rj.C0 = clerp(rj.C0,rjcf,speed)
  522. neck.C0 = clerp(neck.C0,ncf,speed)
  523. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  524. llegm.C0 = clerp(llegm.C0,llcf,speed)
  525. end
  526.  
  527.  
  528. end
  529.  
  530. s = game.Workspace
  531.  
  532. Player = game.Players.LocalPlayer
  533. c = Player.Character
  534. mouse = Player:GetMouse()
  535.  
  536. s2 = Instance.new("Sound", c.Head)
  537. s2.Name = "Bleu"
  538. s2.Volume = 1
  539.  
  540. c.Humanoid.MaxHealth = math.huge
  541. c.Humanoid.Health = math.huge
  542.  
  543. game:GetService("Chat"):Chat(c, "This thing was created by smokedelsin bruh bruh!!!!")
  544.  
  545. for i,v in pairs(c:GetChildren()) do
  546. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then
  547. v:remove()
  548. wait()
  549. end
  550. end
  551.  
  552. c.Humanoid.DisplayDistanceType = "None"
  553. c.Humanoid.NameOcclusion = "OccludeAll"
  554. c.Head.Transparency = .1
  555. c.Torso.Transparency = .1
  556. c["Right Arm"].Transparency = .1
  557. c["Left Arm"].Transparency = .1
  558. c["Right Leg"].Transparency = .1
  559. c["Left Leg"].Transparency = .1
  560. c.Head.BrickColor = BrickColor.new("Really black")
  561. c.Torso.BrickColor = BrickColor.new("Industrial white")
  562. c["Right Arm"].BrickColor = BrickColor.new("Really black")
  563. c["Left Arm"].BrickColor = BrickColor.new("Industrial white")
  564. c["Right Leg"].BrickColor = BrickColor.new("Really black")
  565. c["Left Leg"].BrickColor = BrickColor.new("Industrial white")
  566. c.Head.face.Texture = "rbxassetid://0"
  567. print("Shouts on")
  568. mouse = game.Players.LocalPlayer:GetMouse()
  569. script.Parent = nil
  570. radiusaround = 10
  571. lp = game.Players.LocalPlayer
  572. function newpush(object, push)
  573. local bodypos = Instance.new("BodyPosition")
  574. bodypos.D = 1250
  575. bodypos.P = -5000
  576. bodypos.maxForce = Vector3.new(-1000000000000, -10000000000000, -10000000000000000)
  577. bodypos.position = push
  578. bodypos.Parent = object
  579. game:service("Debris"):AddItem(bodypos, 1)
  580. end
  581. function fus_ro_dah()
  582. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Fus...", Enum.ChatColor.Green)
  583. wait(0.7)
  584. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Ro...", Enum.ChatColor.Blue)
  585. wait(0.3)
  586. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Dah!", Enum.ChatColor.Red)
  587. --Connect all players in front of character
  588. infront = {}
  589. w = game.Workspace:GetChildren()
  590. for i= 1, #w do
  591. if w[i]:FindFirstChild("Humanoid") and w[i]:FindFirstChild("Torso") then --Valid
  592. if game.Players.LocalPlayer:DistanceFromCharacter(w[i]:FindFirstChild("Torso").Position) < 25 then
  593. if w[i] == game.Players.LocalPlayer.Character then else
  594. table.insert(infront, w[i])
  595. end end end
  596. end
  597. --Insert BodyPositions
  598. for i= 1, #infront do
  599. if infront[i] == nil then else
  600. if infront[i]:FindFirstChild("Torso") == nil then else
  601. newpush(infront[i].Torso, game.Players.LocalPlayer.Character.Torso.Position)
  602. end end
  603. end
  604. end --End of Fus Ro Dah
  605.  
  606.  
  607.  
  608. function bolt(point1, point2)
  609. local ray = Ray.new(point1.p, (point2.p - point1.p).unit*300)
  610. obj2 = Instance.new("Part")
  611. obj2.Anchored = true
  612. obj2.TopSurface = Enum.SurfaceType.Smooth
  613. obj2.BottomSurface = Enum.SurfaceType.Smooth
  614. obj2.BrickColor = BrickColor.new("Black")
  615. obj2.Friction = 0.3
  616. obj2.Shape = Enum.PartType.Block
  617. obj2.Parent = game.Players.LocalPlayer.Character
  618. local distance = (point2.p - point1.p).magnitude
  619. obj2.Size = Vector3.new(1.2, 1.2, distance)
  620. obj2.CFrame = CFrame.new(point2.p, point1.p) * CFrame.new(0, 0, -distance/2)
  621. lf = math.random(1000000, 9999999)
  622. function corelightingfade(l)
  623. local time = 15
  624. for i= 1, time do wait()
  625. l.Transparency = (1 / time) * i
  626. end
  627. l:Destroy()
  628. end
  629. lf = coroutine.wrap(corelightingfade)
  630. lf(obj2)
  631. end --End of bolt system for Strum Bah Qo
  632.  
  633.  
  634. function strum_bah_qo(cframe)
  635. dosay = true
  636. if cframe == nil then cframe = mouse.Hit dosay = false end
  637. local mouse = game.Players.LocalPlayer:GetMouse()
  638. if mouse.Target == nil then return end --[[Im not hitting the skybox, whats the point]]
  639. if dosay == true then else
  640. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "I...", Enum.ChatColor.Red)
  641. wait(0.7)
  642. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Am A...", Enum.ChatColor.Red)
  643. wait(0.3)
  644. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Dark God", Enum.ChatColor.Red)
  645. end
  646. lpos = {}
  647. table.insert(lpos, cframe)
  648. for i= 1, 10 do
  649. table.insert(lpos, cframe + Vector3.new(math.random(0, 10), math.random(15, 20) * i, math.random(0, 10)))
  650. end
  651. local sound = Instance.new("Sound", game.Workspace)
  652. sound.SoundId = "http://www.roblox.com/asset/?id=2974000"
  653. sound.Pitch = 1
  654. sound.Volume = 1
  655. sound:Play()
  656. game:service("Debris"):AddItem(sound, 4)
  657. for i= 1, #lpos - 2 do wait()
  658. bolt((lpos[#lpos - i]), lpos[#lpos - (i + 1)])
  659. end
  660. local e = Instance.new("Explosion")
  661. e.Position = lpos[1].p
  662. e.BlastRadius = 10
  663. e.BlastPressure = 1000
  664. e.Parent = game.Workspace
  665. game:service("Debris"):AddItem(e, 1)
  666. end --End of Strum Bah Qo
  667.  
  668. function strum_bah_och()
  669. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "I...", Enum.ChatColor.Red)
  670. wait(0.7)
  671. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Am A...", Enum.ChatColor.Red)
  672. wait(0.3)
  673. game:service("Chat"):Chat(game.Players.LocalPlayer.Character.Head, "Dark God", Enum.ChatColor.Red)
  674. local w = game.Workspace:GetChildren()
  675. for i= 1, #w do
  676. if w[i]:FindFirstChild("Torso") then
  677. strum_bah_qo(w[i].Torso.CFrame)
  678. end end end
  679.  
  680.  
  681. lp.Chatted:connect(function(msg)
  682. if string.lower(msg) == "fus ro dah" or string.lower(msg) == "I Am A Dark God" then
  683. fus_ro_dah()
  684. end
  685. if string.lower(msg) == "strum bah qo" or string.lower(msg) == "I Am A Dark God" then
  686. strum_bah_qo()
  687. end
  688. if string.lower(msg) == "strum bah och" or string.lower(msg) == "I Am A Dark God" then
  689. strum_bah_och()
  690. end
  691. end)
  692.  
  693. local mouse = game.Players.LocalPlayer:GetMouse()
  694. mouse.KeyDown:connect(function(k)
  695. if k == "v" then
  696. strum_bah_qo()
  697. end
  698. if k == "=" then
  699. fus_ro_dah()
  700. end
  701. if key == "v" then
  702. strum_bah_och()
  703. end
  704. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement