Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- local Player = game:service("Players").LocalPlayer
- local ch = Player.Character
- local occ = Instance.new("BoolValue", ch)
- occ.Name = "Occupied"
- local swi = Instance.new("StringValue", ch)
- swi.Name = "switch"
- local trans = Instance.new("BoolValue", ch)
- trans.Name = "trans"
- repeat wait() until ch.Humanoid ~= nil
- ch.Humanoid.Died:connect(function()
- Player.CharacterAdded:connect(function(chz)
- local occ = Instance.new("BoolValue", chz)
- occ.Name = "Occupied"
- local swi = Instance.new("StringValue", chz)
- swi.Name = "switch"
- local trans = Instance.new("BoolValue", chz)
- trans.Name = "trans"
- end
- )
- end)
- local PGui = Player:WaitForChild("PlayerGui")
- local Character = Player.Character
- local Humanoid = Character:WaitForChild("Humanoid")
- local WS = Humanoid.WalkSpeed
- local Head = Character:WaitForChild("Head")
- local Torso = Character:WaitForChild("Torso")
- local HRP = Character:WaitForChild("HumanoidRootPart")
- local RArm = Character:WaitForChild("Right Arm")
- local LArm = Character:WaitForChild("Left Arm")
- local RLeg = Character:WaitForChild("Right Leg")
- local LLeg = Character:WaitForChild("Left Leg")
- msgz = Instance.new("Message", PGui)
- msgz.Text = "Chat \'modssj\' to go modssj, and \'off\' to turn it off!"
- game.Debris:AddItem(msgz, 6.5)
- local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]}
- local Refresh = function()
- Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- end
- local Transformed, Occupied = false, false
- local Create = assert(LoadLibrary("RbxUtility")).Create
- local Part = Create("Part")({TopSurface = 0, BottomSurface = 0, formFactor = "Custom", Size = Vector3.new(1, 1, 1), Anchored = true, CanCollide = false})
- local Anims = {Scrunch = function(active)
- if active then
- for i = 0, 10, 0.5 do
- wait(0.016666666666667)
- Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(0.01, 0, 0)
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.new(0.05, -0.05, -0.02) * CFrame.Angles(math.rad(40) / 10, math.rad(20) / 10, math.rad(80) / 10)
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.new(-0.05, -0.05, -0.02) * CFrame.Angles(math.rad(40) / 10, -math.rad(20) / 10, -math.rad(80) / 10)
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01)
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01)
- end
- else
- do
- for i = 0, 10, 0.5 do
- wait(0.016666666666667)
- Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(0.01, 0, 0):inverse()
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(40) / 10, math.rad(20) / 10, math.rad(80) / 10):inverse() * CFrame.new(-0.05, 0.05, 0.02)
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(40) / 10, -math.rad(20) / 10, -math.rad(80) / 10):inverse() * CFrame.new(0.05, 0.05, 0.02)
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01):inverse()
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01):inverse()
- end
- Refresh()
- end
- end
- end
- , Implode = function(active)
- if active then
- for i = 0, 10, 0.75 do
- wait(0.016666666666667)
- Joints.Head.C0 = Joints.Head.C0 * CFrame.Angles(-0.025, 0, 0)
- Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(-0.005, 0, 0)
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.055)
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.055)
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015)
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015)
- end
- else
- do
- for i = 0, 10, 0.75 do
- wait(0.016666666666667)
- Joints.Head.C0 = Joints.Head.C0 * CFrame.Angles(-0.025, 0, 0):inverse()
- Joints.Torso.C0 = Joints.Torso.C0 * CFrame.Angles(-0.005, 0, 0):inverse()
- Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.055):inverse()
- Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.055):inverse()
- Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015):inverse()
- Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015):inverse()
- end
- end
- end
- end
- }
- Flash = function(Par, Col, Duration, Delay, Async)
- pcall(function()
- Par = Par or PGui
- if not Col then
- Col = BrickColor:White().Color
- Duration = Duration or 10
- if not Delay then
- Delay = 1 / Duration
- local G = Create("ScreenGui")({Parent = Par})
- if not Col then
- local F = Create("Frame")({Parent = G, BorderSizePixel = 0, Size = UDim2.new(1.2, 0, 1.2, 0), Position = UDim2.new(), ZIndex = 10, BackgroundColor3 = Color3.new(1, 1, 1), Transparency = 0})
- local f = function()
- for i = 0, Duration, Delay do
- wait(0.016666666666667)
- F.Transparency = i / Duration
- end
- pcall(game.Destroy, G)
- end
- if Async then
- f = coroutine.wrap(f)
- end
- return f()
- end
- end
- end
- end
- )
- end
- Shake = function(Duration, Delay, Async, Distance)
- pcall(function()
- local Cam = workspace.CurrentCamera
- Duration = Duration or 10
- if not Delay then
- Delay = 1 / Duration
- Distance = Distance or 15
- local f = function()
- for i = 0, Duration, Delay do
- wait(0.016666666666667)
- local R = Cam.CoordinateFrame - Cam.CoordinateFrame.p
- local Scroll = (Cam.CoordinateFrame.p - Cam.Focus.p).magnitude
- local NewF = CFrame.new(Cam.Focus.p) * R * CFrame.new(math.random(-Distance, Distance) / (Distance / 0.25), math.random(-Distance, Distance) / (Distance / 0.25), math.random(-Distance, Distance) / (Distance / 0.25))
- Cam.CoordinateFrame = NewF * CFrame.new(0, 0, Scroll)
- end
- end
- if Async then
- f = coroutine.wrap(f)
- end
- return f()
- end
- end
- )
- end
- Sound = function(Prnt, Id, Pit, Vol)
- pcall(function()
- local cp = game:service("ContentProvider")
- if type(Id) == "number" then
- cp:Preload("rbxassetid://" .. Id)
- Id = "rbxassetid://" .. Id
- else
- if type(Id) == "string" then
- cp:Preload(Id)
- Id = Id
- end
- end
- local S = Create("Sound")({Parent = Prnt or workspace, SoundId = Id, Volume = Vol or 1, Pitch = Pit or 1})
- S:Play()
- S:Stop()
- S:Play()
- game:service("Debris"):AddItem(S, 0.9)
- end
- )
- end
- local Chat = function(Source, Txt, Col)
- if not Source then
- Source = Head
- end
- local c = game:service("Chat")
- if not Col then
- c:Chat(Source, Txt, math.random(0, 2))
- end
- end
- Transform = function(active)
- if active and not Occupied and not Transformed then
- Occupied = true
- Humanoid.WalkSpeed = 0
- local cp = game:service("ContentProvider")
- Hair = {}
- mp = Part:clone()
- mp.Parent = Head
- mp.CFrame = Head.CFrame
- mp.Name = "Main"
- mp.Transparency = 1
- mp.Anchored = false
- local w = Create("Weld")({Parent = mp, Part0 = mp, Part1 = Head, C0 = CFrame.new()})
- cp:Preload("rbxassetid://9982590", "rbxassetid://3270017", "rbxassetid://13425802", "rbxassetid://98444143", "rbxassetid://98444243")
- for i = 1, 10 do
- local h = Part:clone()
- do
- h.CFrame = Head.CFrame
- h.Parent = mp
- h.Transparency = 1
- h.Size = Vector3.new(0.2, 0.2, 0.2)
- h.Anchored = false
- h:BreakJoints()
- local w = Create("Weld")({Parent = h, Part0 = h, Part1 = Head, C0 = CFrame.new()})
- local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "rbxassetid://13425802", TextureId = "rbxassetid://98444243", Scale = Vector3.new(0.15, 0.05, 0.15), VertexColor = Vector3.new(0, 1, 0)})
- if i > 1 then
- m.Scale = Vector3.new(1, 1.15, 1)
- m.MeshId = "rbxassetid://98444143"
- end
- table.insert(Hair, h)
- end
- end
- Hair[1].Weld.C0 = CFrame.new(0.7, -0.3, -0.35) * CFrame.Angles(0, math.rad(90), 0.6)
- Hair[2].Weld.C0 = CFrame.new(0, -0.7, -0.2) * CFrame.Angles(0.2, 0, 0)
- Hair[3].Weld.C0 = CFrame.new(0, -0.6, -0.2) * CFrame.Angles(1.25, math.rad(180), 0)
- Hair[4].Weld.C0 = CFrame.new(0.1, -0.6, -0.4) * CFrame.Angles(0.35, -0.2, -0.5)
- Hair[5].Weld.C0 = CFrame.new(-0.1, -0.6, -0.4) * CFrame.Angles(0.35, 0.2, 0.5)
- Hair[4].Mesh.Scale = Vector3.new(0.7, 0.95, 1)
- Hair[6].Weld.C0 = CFrame.new(0, -1, -0.4)
- Hair[5].Mesh.Scale = Hair[4].Mesh.Scale
- Hair[6].Mesh.Scale = Hair[4].Mesh.Scale
- Hair[7].Weld.C0 = CFrame.new(0, -1.1, -0.025) * CFrame.Angles(-1, 0, 0)
- Hair[8].Weld.C0 = Hair[7].Weld.C0 * CFrame.new(0, 0.1, -0.035) * CFrame.Angles(-0.55, 0, 0)
- Hair[9].Weld.C0 = Hair[8].Weld.C0 * CFrame.new(0, 0.1, -0.35) * CFrame.Angles(-0.55, 0, 0)
- Hair[10].Weld.C0 = Hair[9].Weld.C0 * CFrame.new(0, 0.1, -0.25) * CFrame.Angles(-0.55, 0, 0)
- Sound(Head, 98333808, 1, 0.85)
- Sound(Head, 2248511, 0.25, 0.55)
- for i = 1, 6 do
- Hair[i].Transparency = 0
- end
- for _,v in pairs(Character:GetChildren()) do
- if v.Name == "Hair" then
- v.Transparency = 1
- end
- end
- wait(0.2)
- Chat(nil, "Grrrr..", "Blue")
- SSF = Create("Fire")({Parent = HRP, Color = Color3.new(0, 1, 0), Heat = 10, SecondaryColor = Color3.new(0, 0.66666666666667, 0), Size = 8})
- Anims.Scrunch(true)
- for i = 1, 2 do
- Shake(25, 0.5, 5)
- Flash(nil, BrickColor.new("Light blue").Color, 10, 0.25, true)
- Sound(Head, 2101137, 0.5, 0.8)
- Sound(Head, 3264793, 0.55, 0.9)
- local h = Part:clone()
- h.CFrame = Torso.CFrame
- h.Parent = Torso
- h.Transparency = 1
- h.Size = Vector3.new(1, 1, 1)
- h.Anchored = false
- h.BrickColor = BrickColor.new("Light blue")
- h.Material = "Neon"
- h:BreakJoints()
- local w = Create("Weld")({Parent = h, Part0 = h, Part1 = HRP, C0 = CFrame.new()})
- local m = Create("SpecialMesh")({Parent = h, MeshType = "Sphere", Scale = Vector3.new()})
- for _i = 60, 0, -1 do
- w.C0 = w.C0 * CFrame.Angles(0.2, 0.2, 0.2)
- m.Scale = Vector3.new(_i, _i, _i) / 5
- h.Transparency = -(_i / 60) + 1
- wait(0.05)
- end
- h:Destroy()
- end
- coroutine.resume(coroutine.create(function()
- Shake(65, 0.5, 10)
- for i = 1, 5 do
- cols = {"Light blue", "Bright green", "Pastel green"}
- Flash(nil, BrickColor.new(cols[math.random(1, #cols)]).Color, 10, 0.75, true)
- Sound(Head, 2974249, 0.65, 0.9)
- Sound(Head, 2974000, 0.65, 0.9)
- Sound(Head, 2101137, 0.45, 0.6)
- local h = Part:clone()
- do
- h.CFrame = Torso.CFrame
- h.Parent = Torso
- h.Transparency = 1
- h.Size = Vector3.new(1, 1, 1)
- h.Anchored = false
- h.BrickColor = BrickColor.new("Light blue")
- h:BreakJoints()
- local w = Create("Weld")({Parent = h, Part0 = h, Part1 = HRP, C0 = CFrame.new() * CFrame.Angles(math.rad(90), 0, 0)})
- local m = Create("SpecialMesh")({Parent = h, MeshType = "Sphere", Scale = Vector3.new(1, 1, 1)})
- coroutine.resume(coroutine.create(function()
- local org = w.C0
- for _i = 1, 50 do
- wait(0.05)
- w.C0 = org * CFrame.new(math.random() - 0.5, 0, math.random() - 0.5)
- m.Scale = Vector3.new(_i, _i, _i)
- h.Transparency = _i / 50
- end
- h:Destroy()
- end
- ))
- wait(0.7)
- end
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- for i = 1, 5 do
- local h = Part:clone()
- do
- h.CFrame = Torso.CFrame
- h.Parent = Torso
- h.Transparency = 1
- h.Size = Vector3.new(1, 1, 1)
- h.Anchored = false
- h.BrickColor = BrickColor.new("Light blue")
- h:BreakJoints()
- local w = Create("Weld")({Parent = h, Part0 = h, Part1 = HRP, C0 = CFrame.new() * CFrame.Angles(math.rad(90), 0, 0)})
- local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "rbxassetid://3270017", Scale = Vector3.new(1, 1, 1)})
- coroutine.resume(coroutine.create(function()
- local org = w.C0
- for _i = 1, 50 do
- wait(0.05)
- w.C0 = org * CFrame.new(math.random() - 0.5, 0, math.random() - 0.5)
- m.Scale = Vector3.new(_i * 2, _i * 2, _i / 2.5)
- h.Transparency = _i / 50
- end
- h:Destroy()
- end
- ))
- wait(0.7)
- end
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- for _ = 7, 10 do
- for i = 1, 0, -0.05 do
- wait(0.03030303030303)
- Hair[_].Transparency = i
- Hair[_].Mesh.Scale = Hair[_].Mesh.Scale + Vector3.new(0, 0.015, 0)
- Hair[_].Weld.C0 = Hair[_].Weld.C0 * CFrame.new(0, 0, -0.0025)
- end
- end
- for _,v in pairs(Hair) do
- v.Transparency = 0
- end
- Chat(nil, "FEEL THE PAIN OF A LEGENDARY SUPER SAIYAN!", "Red")
- end
- ))
- Anims.Scrunch(false)
- Anims.Implode(true)
- SSF.Heat = 20
- SSF.Size = 12
- for i = 1, 5 do
- local h = Part:clone()
- h.CFrame = Torso.CFrame
- h.Parent = Torso
- h.Transparency = 1
- h.Size = Vector3.new(1, 1, 1)
- h.Anchored = false
- h.BrickColor = BrickColor.new("Light blue")
- h:BreakJoints()
- local w = Create("Weld")({Parent = h, Part0 = h, Part1 = HRP, C0 = CFrame.new() * CFrame.Angles(math.rad(90), 0, 0)})
- local m = Create("SpecialMesh")({Parent = h, MeshType = "FileMesh", MeshId = "rbxassetid://3270017", Scale = Vector3.new(1, 1, 1)})
- coroutine.resume(coroutine.create(function()
- local org = w.C0
- for _i = 1, 50 do
- wait(0.05)
- w.C0 = org * CFrame.new(math.random() - 0.5, 0, math.random() - 0.5)
- m.Scale = Vector3.new(_i / 2.5, _i / 2.5, _i * 45)
- h.Transparency = _i / 50
- end
- h:Destroy()
- end
- ))
- wait(0.7)
- end
- Sound(Head, 98333808, 1, 0.85)
- Sound(Head, 2248511, 0.65, 0.65)
- Chat(nil, "I AM A MOD I PROTECT THE SERVER I WILL DESTORY YOU")
- Anims.Implode(false)
- Humanoid.WalkSpeed = 16
- Transformed = true
- Occupied = false
- else
- do
- if not active and not Occupied and Transformed then
- Occupied = true
- Anims.Scrunch(true)
- Humanoid.WalkSpeed = 0
- Sound(Head, 2248511, 0.75, 0.6)
- Sound(Head, 2691586, 0.7, 0.4)
- Sound(Head, 2785493, 0.55, 0.9)
- Sound(Head, 2785493, 0.7, 0.7)
- Shake(15, 0.5, 20)
- Flash(nil, Color3.new(1, 1, 1), 7, 0.1, true)
- coroutine.resume(coroutine.create(function()
- wait(2)
- for i = 1, 0, -0.05 do
- wait(0.016666666666667)
- for _,v in pairs(Character:GetChildren()) do
- if v.Name == "Hair" then
- v.Transparency = i
- end
- end
- end
- for _,v in pairs(Character:GetChildren()) do
- if v.Name == "Hair" then
- v.Transparency = 0
- end
- end
- end
- ))
- for i = 0, 1, 0.01 do
- wait(0.016666666666667)
- for _,v in pairs(Hair) do
- v.Transparency = i
- end
- end
- Sound(Head, 2800815, 0.85, 1)
- Sound(Head, 2800815, 0.55, 0.8)
- Sound(Head, 2691586, 0.45, 0.3)
- pcall(game.Destroy, SSF)
- pcall(game.Destroy, mp)
- Hair = {}
- Chat(nil, "Heh.", "Blue")
- Anims.Scrunch(false)
- Humanoid.WalkSpeed = 16
- Transformed = false
- Occupied = false
- end
- end
- end
- end
- Player.Chatted:connect(function(Msg)
- if Character.trans.Value == false and Character.Occupied.Value == false then
- Msg = Msg:lower()
- if Msg == "modssj" and Character.switch.Value == "" then
- Character.switch.Value = "modssj"
- Character.trans.Value = true
- Transform(true)
- game.ReplicatedStorage.bolts2:Clone().Parent = PGui
- Humanoid.MaxHealth = Humanoid.MaxHealth + tonumber("38")
- wait(1)
- Humanoid.Health = Humanoid.Health + tonumber("38")
- Character.trans.Value = false
- else
- if Msg == "off" and Character.switch.Value == "modssj" then
- Character.trans.Value = true
- PGui:FindFirstChild("bolts2"):Destroy()
- Transform(false)
- Humanoid.Health = Humanoid.Health - tonumber("38")
- wait(1)
- Humanoid.MaxHealth = Humanoid.MaxHealth - tonumber("38")
- Character.trans.Value = false
- Character.switch.Value = ""
- end
- end
- end
- end
- )--Made by commag
- local s = Instance.new("Sound")
- s.Name = "Sound"
- s.SoundId = "http://www.roblox.com/asset/?id=194135434"
- s.Volume = 2
- s.Looped = false
- s.archivable = false
- s.Parent = game.Workspace
- wait(3)
- s:play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement